mirror of
https://github.com/pascallanger/DIY-Multiprotocol-TX-Module.git
synced 2026-11-16 08:07:34 +00:00
Fixed compilation issue if telemetry is not enabled
This commit is contained in:
1 parent
aa52bcee8c
commit
22529e28d8
1 file changed
+3
-1
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user