1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 16:55:20 +03:00

Remove unused variable

This commit is contained in:
Bertrand Songis 2018-11-28 16:50:47 +01:00
parent 8c336d52fa
commit 609a2a7d02
2 changed files with 0 additions and 7 deletions

View file

@ -28,8 +28,6 @@ uint8_t telemetryRxBufferCount = 0;
uint8_t wshhStreaming = 0;
#endif
uint8_t link_counter = 0;
uint8_t telemetryState = TELEMETRY_INIT;
TelemetryData telemetryData;
@ -216,11 +214,8 @@ void telemetryReset()
}
telemetryStreaming = 0; // reset counter only if valid frsky packets are being detected
link_counter = 0;
telemetryState = TELEMETRY_INIT;
}
// we don't reset the telemetry here as we would also reset the consumption after model load

View file

@ -41,8 +41,6 @@ extern uint8_t telemetryStreaming; // >0 (true) == data is streaming in. 0 = no
extern uint8_t wshhStreaming;
#endif
extern uint8_t link_counter;
enum TelemetryStates {
TELEMETRY_INIT,
TELEMETRY_OK,