Enable shutdown from sleep mode
If the iron is in sleep mode it is now possible to shutdown with a long press on the back button without reheating in-between.
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