1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 09:45:21 +03:00

Reinstate A2 alarms in D16 mode for the 3rd party adapter

This commit is contained in:
Andre Bernet 2014-01-04 18:21:08 +01:00
parent 0618f98a13
commit dbf39608eb

View file

@ -671,11 +671,11 @@ void telemetryWakeup()
} }
} }
else if (alarmsCheckStep == 2) { else if (alarmsCheckStep == 2) {
if (alarmRaised(1, 1) && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_D8) { if (alarmRaised(1, 1)) {
AUDIO_A2_RED(); AUDIO_A2_RED();
alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */ alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */
} }
else if (alarmRaised(1, 0) && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_D8) { else if (alarmRaised(1, 0)) {
AUDIO_A2_ORANGE(); AUDIO_A2_ORANGE();
alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */ alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */
} }