mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-19 04:52:12 +01:00
LP-346 RFM22 tuning: Missing AFCCorrection update for OPLink
This commit is contained in:
parent
ea377973fc
commit
8e1d6f6d86
@ -152,18 +152,19 @@ static void systemTask(__attribute__((unused)) void *parameters)
|
|||||||
|
|
||||||
if (pios_rfm22b_id) {
|
if (pios_rfm22b_id) {
|
||||||
// Update the status
|
// Update the status
|
||||||
oplinkStatus.DeviceID = PIOS_RFM22B_DeviceID(pios_rfm22b_id);
|
oplinkStatus.DeviceID = PIOS_RFM22B_DeviceID(pios_rfm22b_id);
|
||||||
oplinkStatus.RxGood = radio_stats.rx_good;
|
oplinkStatus.RxGood = radio_stats.rx_good;
|
||||||
oplinkStatus.RxCorrected = radio_stats.rx_corrected;
|
oplinkStatus.RxCorrected = radio_stats.rx_corrected;
|
||||||
oplinkStatus.RxErrors = radio_stats.rx_error;
|
oplinkStatus.RxErrors = radio_stats.rx_error;
|
||||||
oplinkStatus.RxMissed = radio_stats.rx_missed;
|
oplinkStatus.RxMissed = radio_stats.rx_missed;
|
||||||
oplinkStatus.RxFailure = radio_stats.rx_failure;
|
oplinkStatus.RxFailure = radio_stats.rx_failure;
|
||||||
oplinkStatus.TxDropped = radio_stats.tx_dropped;
|
oplinkStatus.TxDropped = radio_stats.tx_dropped;
|
||||||
oplinkStatus.TxFailure = radio_stats.tx_failure;
|
oplinkStatus.TxFailure = radio_stats.tx_failure;
|
||||||
oplinkStatus.Resets = radio_stats.resets;
|
oplinkStatus.Resets = radio_stats.resets;
|
||||||
oplinkStatus.Timeouts = radio_stats.timeouts;
|
oplinkStatus.Timeouts = radio_stats.timeouts;
|
||||||
oplinkStatus.RSSI = radio_stats.rssi;
|
oplinkStatus.RSSI = radio_stats.rssi;
|
||||||
oplinkStatus.LinkQuality = radio_stats.link_quality;
|
oplinkStatus.LinkQuality = radio_stats.link_quality;
|
||||||
|
oplinkStatus.AFCCorrection = radio_stats.afc_correction;
|
||||||
if (first_time) {
|
if (first_time) {
|
||||||
first_time = false;
|
first_time = false;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user