This commit is contained in:
bsongis
2014-07-07 12:19:28 +02:00
parent ad7da779c7
commit 39a0feae3b
10 changed files with 66 additions and 46 deletions
+3 -2
View File
@@ -277,8 +277,9 @@ enum AlarmsCheckSteps {
void telemetryWakeup()
{
#if defined(CPUARM)
if (telemetryProtocol != g_model.telemetryProtocol) {
telemetryProtocol = g_model.telemetryProtocol;
uint8_t requiredTelemetryProtocol = MODEL_TELEMETRY_PROTOCOL;
if (telemetryProtocol != requiredTelemetryProtocol) {
telemetryProtocol = requiredTelemetryProtocol;
telemetryInit();
}
#endif