Selaa lähdekoodia

Fix kill screen with null string (#15747)

ManuelMcLure 5 vuotta sitten
vanhempi
commit
76b861d759
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1
    1
      Marlin/src/Marlin.cpp

+ 1
- 1
Marlin/src/Marlin.cpp Näytä tiedosto

745
   SERIAL_ERROR_MSG(MSG_ERR_KILLED);
745
   SERIAL_ERROR_MSG(MSG_ERR_KILLED);
746
 
746
 
747
   #if HAS_DISPLAY
747
   #if HAS_DISPLAY
748
-    ui.kill_screen(lcd_error ?: GET_TEXT(MSG_KILLED), lcd_component);
748
+    ui.kill_screen(lcd_error ?: GET_TEXT(MSG_KILLED), lcd_component ?: PSTR(""));
749
   #else
749
   #else
750
     UNUSED(lcd_error);
750
     UNUSED(lcd_error);
751
     UNUSED(lcd_component);
751
     UNUSED(lcd_component);

Loading…
Peruuta
Tallenna