Set LCD status for EEPROM errors (#16977)
This commit is contained in:
committed by
GitHub
parent
e78f607ef3
commit
cdcd45d651
@@ -1453,7 +1453,7 @@ void MarlinUI::update() {
|
||||
/**
|
||||
* Reset the status message
|
||||
*/
|
||||
void MarlinUI::reset_status() {
|
||||
void MarlinUI::reset_status(const bool no_welcome) {
|
||||
PGM_P printing = GET_TEXT(MSG_PRINTING);
|
||||
PGM_P welcome = GET_TEXT(WELCOME_MSG);
|
||||
#if SERVICE_INTERVAL_1 > 0
|
||||
@@ -1485,8 +1485,10 @@ void MarlinUI::update() {
|
||||
else if (print_job_timer.needsService(3)) msg = service3;
|
||||
#endif
|
||||
|
||||
else
|
||||
else if (!no_welcome)
|
||||
msg = welcome;
|
||||
else
|
||||
return;
|
||||
|
||||
set_status_P(msg, -1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user