mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-08-10 07:15:02 -06:00
🚸 Clear alert on menu click
This commit is contained in:
parent
efd875766a
commit
3696cc3513
1 changed files with 9 additions and 0 deletions
|
@ -203,6 +203,15 @@ void MarlinUI::goto_screen(screenFunc_t screen, const uint16_t encoder/*=0*/, co
|
|||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// Clear alerts when exiting the Status Screen to the Main Menu
|
||||
//
|
||||
|
||||
if (currentScreen == status_screen && screen == menu_main) {
|
||||
reset_alert_level();
|
||||
reset_status();
|
||||
}
|
||||
|
||||
//
|
||||
// Go to the new screen
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue