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:
parent
0618f98a13
commit
dbf39608eb
1 changed files with 2 additions and 2 deletions
|
@ -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 */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue