Constrain LCD status message rendering
This commit is contained in:
parent
a83f6db679
commit
ba5910ab6c
2 changed files with 6 additions and 3 deletions
|
|
@ -795,7 +795,8 @@ static void lcd_implementation_status_screen() {
|
|||
|
||||
#endif // FILAMENT_LCD_DISPLAY && SDSUPPORT
|
||||
|
||||
lcd_print(lcd_status_message);
|
||||
const char *str = lcd_status_message;
|
||||
for (uint8_t i = 0; char c = str[i] && i < LCD_WIDTH; ++i) lcd_print(c);
|
||||
}
|
||||
|
||||
#if ENABLED(ULTIPANEL)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue