fix(color): unable to turn off radio if powered on with no SD card (#5893)

This commit is contained in:
philmoz
2025-02-12 09:48:14 +10:00
committed by GitHub
parent 9e26c1fb22
commit 9a4b462b91
2 changed files with 16 additions and 9 deletions
@@ -275,6 +275,13 @@ void runFatalErrorScreen(const char* message)
{
lcdInitDisplayDriver();
drawFatalErrorScreen(message);
// On startup wait for power button to be released
while (pwrPressed()) {
WDG_RESET();
}
while (true) {
drawFatalErrorScreen(message);
WDG_RESET();