Explorar el Código

Make sure the MMU error title never overflows on the LCD

D.R.racer hace 3 años
padre
commit
108f439bb7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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(