mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Merge pull request #3918 from mikeller/fix_cmp_use
Used correct cmp for us time comparison.
This commit is contained in:
commit
8e1cbff42b
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
|
||||
RX_enable();
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue