Skip to content
Snippets Groups Projects
Commit 76b861d7 authored by ManuelMcLure's avatar ManuelMcLure Committed by Scott Lahteine
Browse files

Fix kill screen with null string (#15747)

parent 7360e934
Branches
Tags
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment