Merge pull request #958 from FL550/exit-soldering-mode-from-sleep-mode-with-button
Enable shutdown from sleep mode
This commit is contained in:
@@ -297,6 +297,9 @@ static bool shouldShutdown() {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (getButtonState() == BUTTON_B_LONG) { // allow also if back button is pressed long
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
static int gui_SolderingSleepingMode(bool stayOff, bool autoStarted) {
|
||||
|
||||
Reference in New Issue
Block a user