From 67948ad6c62b1034b815d219c0b7bfc475b03767 Mon Sep 17 00:00:00 2001 From: Andrew <18502096+classicrocker883@users.noreply.github.com> Date: Mon, 5 May 2025 21:19:52 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=B8=20Fix=20ProUI=20LCD=20wake=20up=20?= =?UTF-8?q?(2)=20(#27835)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Followup to #27832 --- Marlin/src/lcd/e3v2/proui/dwin.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Marlin/src/lcd/e3v2/proui/dwin.cpp b/Marlin/src/lcd/e3v2/proui/dwin.cpp index aa77704786..c3a69c1c66 100644 --- a/Marlin/src/lcd/e3v2/proui/dwin.cpp +++ b/Marlin/src/lcd/e3v2/proui/dwin.cpp @@ -1278,7 +1278,7 @@ void hmiWaitForUser() { if (!wait_for_user) { switch (checkkey) { 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 void MarlinUI::_set_brightness() { - if (!backlight) wait_for_user = true; dwinLCDBrightness(backlight ? brightness : 0); + if (!backlight) + wait_for_user = true; + else if (checkkey != ID_PrintDone) + wait_for_user = false; } #endif