ソースを参照

Make sure the MMU error title never overflows on the LCD

D.R.racer 3 年 前
コミット
108f439bb7
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Firmware/mmu2_reporting.cpp

+ 1 - 1
Firmware/mmu2_reporting.cpp

@@ -49,7 +49,7 @@ back_to_choices:
     lcd_update_enable(false);
      
     // Print title and header
-    lcd_printf_P(PSTR("%S\nprusa3d.com/ERR04%hu"), _T(PrusaErrorTitle(ei)), PrusaErrorCode(ei) );
+    lcd_printf_P(PSTR("%.20S\nprusa3d.com/ERR04%hu"), _T(PrusaErrorTitle(ei)), PrusaErrorCode(ei) );
 
     // Render the choices and store selection in 'choice_selected'
     choice_selected = lcd_show_multiscreen_message_with_choices_and_wait_P(