No more global warning displayed only on Main View. Global warning will

be displayed on all menus. Saves flash on stock 9x!
This commit is contained in:
bsongis
2014-04-09 09:55:40 +02:00
parent 7ba16bccb4
commit aaec5f8fb0
19 changed files with 38 additions and 31 deletions
+1 -1
View File
@@ -677,7 +677,7 @@ void telemetryWakeup()
if (alarmsCheckStep == 0) {
if ((IS_MODULE_XJT(0) || IS_MODULE_XJT(1)) && frskyData.swr.value > 0x33) {
AUDIO_SWR_RED();
s_global_warning = STR_ANTENNAPROBLEM;
POPUP_WARNING(STR_ANTENNAPROBLEM);
alarmsCheckTime = get_tmr10ms() + 300; /* next check in 3seconds */
}
}