mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2025-02-11 02:03:47 +00:00
Fixed compilation issue if telemetry is not enabled
This commit is contained in:
parent
aa52bcee8c
commit
22529e28d8
@ -293,7 +293,9 @@ uint16_t ReadFrSkyX()
|
|||||||
seq_last_sent = 0;
|
seq_last_sent = 0;
|
||||||
seq_last_rcvd = 8;
|
seq_last_rcvd = 8;
|
||||||
counter=0;
|
counter=0;
|
||||||
telemetry_lost=1;
|
#if defined TELEMETRY
|
||||||
|
telemetry_lost=1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
CC2500_Strobe(CC2500_SFRX); //flush the RXFIFO
|
CC2500_Strobe(CC2500_SFRX); //flush the RXFIFO
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user