mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-19 14:25:20 +03:00
Used correct cmp for us time comparison.
This commit is contained in:
parent
cda31ef88a
commit
466063d5b0
1 changed files with 1 additions and 1 deletions
|
@ -614,7 +614,7 @@ rx_spi_received_e frSkyDDataReceived(uint8_t *packet)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (cmp32(currentPacketReceivedTime, lastPacketReceivedTime) > (t_out * SYNC)) {
|
if (cmpTimeUs(currentPacketReceivedTime, lastPacketReceivedTime) > (t_out * SYNC)) {
|
||||||
#ifdef USE_FRSKY_RX_PA_LNA
|
#ifdef USE_FRSKY_RX_PA_LNA
|
||||||
RX_enable();
|
RX_enable();
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue