Skip to content

Commit 3696cc3

Browse files
committed
🚸 Clear alert on menu click
1 parent efd8757 commit 3696cc3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Marlin/src/lcd/menu/menu.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,15 @@ void MarlinUI::goto_screen(screenFunc_t screen, const uint16_t encoder/*=0*/, co
203203
}
204204
#endif
205205

206+
//
207+
// Clear alerts when exiting the Status Screen to the Main Menu
208+
//
209+
210+
if (currentScreen == status_screen && screen == menu_main) {
211+
reset_alert_level();
212+
reset_status();
213+
}
214+
206215
//
207216
// Go to the new screen
208217
//

0 commit comments

Comments
 (0)