mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-02-20 10:54:14 +01:00
LP-518 OPLink receiver: Update Rssi and Link quality
This commit is contained in:
parent
8e861cbcae
commit
598baec72f
@ -232,6 +232,8 @@ static void PIOS_oplinkrcvr_Supervisor(uint32_t oplinkrcvr_id)
|
||||
for (int32_t i = 0; i < OPLINKRECEIVER_CHANNEL_NUMELEM; i++) {
|
||||
oplinkrcvr_dev->oplinkreceiverdata.Channel[i] = PIOS_RCVR_TIMEOUT;
|
||||
}
|
||||
oplinkrcvr_dev->oplinkreceiverdata.RSSI = -127;
|
||||
oplinkrcvr_dev->oplinkreceiverdata.LinkQuality = 0;
|
||||
}
|
||||
|
||||
oplinkrcvr_dev->Fresh = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user