Fix compilation issues when Telem is disabled

This commit is contained in:
Pascal Langer
2020-07-22 15:27:06 +02:00
parent e6976fb08d
commit 69c95ca153
2 changed files with 9 additions and 3 deletions

View File

@@ -494,8 +494,10 @@ void Frsky_init_clone(void)
SportHead=SportTail=0; // empty data buffer
#endif
FrSkyX_RX_Seq = 0 ; // Seq 0 to start with
telemetry_lost=1;
telemetry_link=0; //Stop sending telemetry
#ifdef TELEMETRY
telemetry_lost=1;
telemetry_link=0; //Stop sending telemetry
#endif
}
#endif