mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-06 22:47:27 -06:00
parent
e2583b4f85
commit
67948ad6c6
1 changed files with 5 additions and 2 deletions
|
@ -1278,7 +1278,7 @@ void hmiWaitForUser() {
|
||||||
if (!wait_for_user) {
|
if (!wait_for_user) {
|
||||||
switch (checkkey) {
|
switch (checkkey) {
|
||||||
case ID_PrintDone: select_page.reset(); gotoMainMenu(); break;
|
case ID_PrintDone: select_page.reset(); gotoMainMenu(); break;
|
||||||
default: hmiReturnScreen(); break;
|
default: ui.reset_status(true); hmiReturnScreen(); break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1958,8 +1958,11 @@ void MarlinUI::update() {
|
||||||
|
|
||||||
#if HAS_LCD_BRIGHTNESS
|
#if HAS_LCD_BRIGHTNESS
|
||||||
void MarlinUI::_set_brightness() {
|
void MarlinUI::_set_brightness() {
|
||||||
if (!backlight) wait_for_user = true;
|
|
||||||
dwinLCDBrightness(backlight ? brightness : 0);
|
dwinLCDBrightness(backlight ? brightness : 0);
|
||||||
|
if (!backlight)
|
||||||
|
wait_for_user = true;
|
||||||
|
else if (checkkey != ID_PrintDone)
|
||||||
|
wait_for_user = false;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue