Browse Source

Make sure the MMU error title never overflows on the LCD

D.R.racer 2 years ago
parent
commit
108f439bb7
1 changed files with 1 additions and 1 deletions
  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(