Show warning LED with switch and throttle alerts

Show warning LED for switch, throttle and ALERTS generally
i.e. MULTI failsafe not set, low RTC battery, storage warning
This commit is contained in:
Peter Feerick
2022-01-08 14:12:26 +10:00
committed by Peter Feerick
parent 88ade987a7
commit f8c01c3988
3 changed files with 10 additions and 4 deletions
+2
View File
@@ -733,8 +733,10 @@ void checkSwitches()
if (!isSwitchWarningRequired(bad_pots))
return;
LED_ERROR_BEGIN();
auto dialog = new SwitchWarnDialog();
dialog->runForever();
LED_ERROR_END();
}
#elif defined(GUI)
void checkSwitches()