소스 검색

Fix kill screen with null string (#15747)

ManuelMcLure 5 년 전
부모
커밋
76b861d759
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/src/Marlin.cpp

+ 1
- 1
Marlin/src/Marlin.cpp 파일 보기

@@ -745,7 +745,7 @@ void kill(PGM_P const lcd_error/*=nullptr*/, PGM_P const lcd_component/*=nullptr
745 745
   SERIAL_ERROR_MSG(MSG_ERR_KILLED);
746 746
 
747 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 749
   #else
750 750
     UNUSED(lcd_error);
751 751
     UNUSED(lcd_component);

Loading…
취소
저장