fix(color): Popup telemetry warning can crash radio (#3439)

Also fixes issue where simulator does not close cleanly if popup showing.
This commit is contained in:
philmoz
2023-04-16 18:25:29 +10:00
committed by GitHub
parent b3c7a95aa2
commit e0fad3d122
5 changed files with 53 additions and 1 deletions
+1 -1
View File
@@ -269,7 +269,7 @@ void telemetryWakeup()
#if defined(PCBFRSKY)
if (isBadAntennaDetected()) {
AUDIO_RAS_RED();
POPUP_WARNING(STR_WARNING, STR_ANTENNAPROBLEM);
POPUP_WARNING_ON_UI_TASK(STR_WARNING, STR_ANTENNAPROBLEM);
SCHEDULE_NEXT_ALARMS_CHECK(10/*seconds*/);
}
#endif