|
@@ -528,7 +528,7 @@ void lcd_printPGM_utf(const char *str, uint8_t n=LCD_WIDTH) {
|
528
|
528
|
lcd_erase_line(3); \
|
529
|
529
|
if (strlen(STRING) <= LCD_WIDTH) { \
|
530
|
530
|
lcd.setCursor((LCD_WIDTH - lcd_strlen_P(PSTR(STRING))) / 2, 3); \
|
531
|
|
- lcd_printPGM(PSTR(STRING)); \
|
|
531
|
+ lcd_printPGM_utf(PSTR(STRING)); \
|
532
|
532
|
safe_delay(DELAY); \
|
533
|
533
|
} \
|
534
|
534
|
else { \
|
|
@@ -601,10 +601,10 @@ void lcd_kill_screen() {
|
601
|
601
|
lcd.setCursor(0, 2);
|
602
|
602
|
#else
|
603
|
603
|
lcd.setCursor(0, 2);
|
604
|
|
- lcd_printPGM(PSTR(MSG_HALTED));
|
|
604
|
+ lcd_printPGM_utf(PSTR(MSG_HALTED));
|
605
|
605
|
lcd.setCursor(0, 3);
|
606
|
606
|
#endif
|
607
|
|
- lcd_printPGM(PSTR(MSG_PLEASE_RESET));
|
|
607
|
+ lcd_printPGM_utf(PSTR(MSG_PLEASE_RESET));
|
608
|
608
|
}
|
609
|
609
|
|
610
|
610
|
FORCE_INLINE void _draw_axis_label(const AxisEnum axis, const char* const pstr, const bool blink) {
|
|
@@ -1017,7 +1017,7 @@ static void lcd_implementation_status_screen() {
|
1017
|
1017
|
|
1018
|
1018
|
void lcd_implementation_drawedit(const char* pstr, const char* const value=NULL) {
|
1019
|
1019
|
lcd.setCursor(1, 1);
|
1020
|
|
- lcd_printPGM(pstr);
|
|
1020
|
+ lcd_printPGM_utf(pstr);
|
1021
|
1021
|
if (value != NULL) {
|
1022
|
1022
|
lcd.write(':');
|
1023
|
1023
|
const uint8_t valrow = (lcd_strlen_P(pstr) + 1 + lcd_strlen(value) + 1) > (LCD_WIDTH - 2) ? 2 : 1; // Value on the next row if it won't fit
|