mirror of
https://github.com/opentx/opentx.git
synced 2025-07-26 09:45:21 +03:00
Remove unused variable
This commit is contained in:
parent
8c336d52fa
commit
609a2a7d02
2 changed files with 0 additions and 7 deletions
|
@ -28,8 +28,6 @@ uint8_t telemetryRxBufferCount = 0;
|
||||||
uint8_t wshhStreaming = 0;
|
uint8_t wshhStreaming = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint8_t link_counter = 0;
|
|
||||||
|
|
||||||
uint8_t telemetryState = TELEMETRY_INIT;
|
uint8_t telemetryState = TELEMETRY_INIT;
|
||||||
|
|
||||||
TelemetryData telemetryData;
|
TelemetryData telemetryData;
|
||||||
|
@ -216,11 +214,8 @@ void telemetryReset()
|
||||||
}
|
}
|
||||||
|
|
||||||
telemetryStreaming = 0; // reset counter only if valid frsky packets are being detected
|
telemetryStreaming = 0; // reset counter only if valid frsky packets are being detected
|
||||||
link_counter = 0;
|
|
||||||
|
|
||||||
telemetryState = TELEMETRY_INIT;
|
telemetryState = TELEMETRY_INIT;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// we don't reset the telemetry here as we would also reset the consumption after model load
|
// we don't reset the telemetry here as we would also reset the consumption after model load
|
||||||
|
|
|
@ -41,8 +41,6 @@ extern uint8_t telemetryStreaming; // >0 (true) == data is streaming in. 0 = no
|
||||||
extern uint8_t wshhStreaming;
|
extern uint8_t wshhStreaming;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern uint8_t link_counter;
|
|
||||||
|
|
||||||
enum TelemetryStates {
|
enum TelemetryStates {
|
||||||
TELEMETRY_INIT,
|
TELEMETRY_INIT,
|
||||||
TELEMETRY_OK,
|
TELEMETRY_OK,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue