|
|
@ -410,8 +410,8 @@ inline void lcd_implementation_status_message() {
|
|
|
|
const uint8_t slen = lcd_strlen(lcd_status_message);
|
|
|
|
const uint8_t slen = lcd_strlen(lcd_status_message);
|
|
|
|
if (slen > LCD_WIDTH) {
|
|
|
|
if (slen > LCD_WIDTH) {
|
|
|
|
// Skip any non-printing bytes
|
|
|
|
// Skip any non-printing bytes
|
|
|
|
while (!PRINTABLE(lcd_status_message[status_scroll_pos])) ++status_scroll_pos;
|
|
|
|
while (!PRINTABLE(lcd_status_message[status_scroll_pos++])) { /* nada */ }
|
|
|
|
if (++status_scroll_pos > slen - LCD_WIDTH) status_scroll_pos = 0;
|
|
|
|
if (status_scroll_pos > slen - LCD_WIDTH) status_scroll_pos = 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
lcd_print_utf(lcd_status_message);
|
|
|
|
lcd_print_utf(lcd_status_message);
|
|
|
|