Do not unconditionally overwrite the status message in check_file()
No function should touch the status message directly without checking the message severity level first. Replace the strcpy_P with lcd_setstatuspgm().
This commit is contained in:
parent
7ff117d0c4
commit
78f856c8d6
@ -8593,7 +8593,7 @@ static bool check_file(const char* filename) {
|
||||
cmdqueue_serial_disabled = false;
|
||||
card.printingHasFinished();
|
||||
|
||||
strncpy_P(lcd_status_message, _T(WELCOME_MSG), LCD_WIDTH);
|
||||
lcd_setstatuspgm(_T(WELCOME_MSG));
|
||||
lcd_finishstatus();
|
||||
return result;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user