Browse Source

Use XYZ translated strings in dogm

pull/1/head
Scott Lahteine 9 years ago
parent
commit
41aa4bdf1f
  1. 12
      Marlin/dogm_lcd_implementation.h

12
Marlin/dogm_lcd_implementation.h

@ -378,7 +378,7 @@ static void lcd_implementation_status_screen() {
u8g.setColorIndex(0); // white on black u8g.setColorIndex(0); // white on black
u8g.setPrintPos(2, XYZ_BASELINE); u8g.setPrintPos(2, XYZ_BASELINE);
if (blink) if (blink)
lcd_printPGM(PSTR("X")); lcd_printPGM(PSTR(MSG_X));
else { else {
if (!axis_homed[X_AXIS]) if (!axis_homed[X_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
@ -388,7 +388,7 @@ static void lcd_implementation_status_screen() {
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
#endif #endif
lcd_printPGM(PSTR("X")); lcd_printPGM(PSTR(MSG_X));
} }
} }
u8g.drawPixel(8, XYZ_BASELINE - 5); u8g.drawPixel(8, XYZ_BASELINE - 5);
@ -398,7 +398,7 @@ static void lcd_implementation_status_screen() {
u8g.setPrintPos(43, XYZ_BASELINE); u8g.setPrintPos(43, XYZ_BASELINE);
if (blink) if (blink)
lcd_printPGM(PSTR("Y")); lcd_printPGM(PSTR(MSG_Y));
else { else {
if (!axis_homed[Y_AXIS]) if (!axis_homed[Y_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
@ -408,7 +408,7 @@ static void lcd_implementation_status_screen() {
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
#endif #endif
lcd_printPGM(PSTR("Y")); lcd_printPGM(PSTR(MSG_Y));
} }
} }
u8g.drawPixel(49, XYZ_BASELINE - 5); u8g.drawPixel(49, XYZ_BASELINE - 5);
@ -418,7 +418,7 @@ static void lcd_implementation_status_screen() {
u8g.setPrintPos(83, XYZ_BASELINE); u8g.setPrintPos(83, XYZ_BASELINE);
if (blink) if (blink)
lcd_printPGM(PSTR("Z")); lcd_printPGM(PSTR(MSG_Z));
else { else {
if (!axis_homed[Z_AXIS]) if (!axis_homed[Z_AXIS])
lcd_printPGM(PSTR("?")); lcd_printPGM(PSTR("?"));
@ -428,7 +428,7 @@ static void lcd_implementation_status_screen() {
lcd_printPGM(PSTR(" ")); lcd_printPGM(PSTR(" "));
else else
#endif #endif
lcd_printPGM(PSTR("Z")); lcd_printPGM(PSTR(MSG_Z));
} }
} }
u8g.drawPixel(89, XYZ_BASELINE - 5); u8g.drawPixel(89, XYZ_BASELINE - 5);

Loading…
Cancel
Save