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

This commit is contained in:
Andre Bernet
2014-01-05 14:02:20 +01:00
parent b185cc7fd8
commit c177824601
+2 -2
View File
@@ -576,11 +576,11 @@ void telemetryWakeup()
}
}
else if (alarmsCheckStep == 2) {
if (alarmRaised(1, 1) && g_model.moduleData[INTERNAL_MODULE].rfProtocol == RF_PROTO_D8) {
if (alarmRaised(1, 1)) {
AUDIO_A2_RED();
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();
alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */
}