Fix kill screen with null string (#15747)
This commit is contained in:
parent
7360e9343a
commit
76b861d759
1 changed files with 1 additions and 1 deletions
|
@ -745,7 +745,7 @@ void kill(PGM_P const lcd_error/*=nullptr*/, PGM_P const lcd_component/*=nullptr
|
|||
SERIAL_ERROR_MSG(MSG_ERR_KILLED);
|
||||
|
||||
#if HAS_DISPLAY
|
||||
ui.kill_screen(lcd_error ?: GET_TEXT(MSG_KILLED), lcd_component);
|
||||
ui.kill_screen(lcd_error ?: GET_TEXT(MSG_KILLED), lcd_component ?: PSTR(""));
|
||||
#else
|
||||
UNUSED(lcd_error);
|
||||
UNUSED(lcd_component);
|
||||
|
|
Reference in a new issue