Browse Source

Use MSG_X, etc., on Hitachi LCD

Scott Lahteine 9 years ago
parent
commit
b281001329
1 changed files with 6 additions and 6 deletions
  1. 6
    6
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 6
- 6
Marlin/ultralcd_implementation_hitachi_HD44780.h View File

@@ -693,7 +693,7 @@ static void lcd_implementation_status_screen() {
693 693
         // When everything is ok you see a constant 'X'.
694 694
 
695 695
         if (blink)
696
-          lcd_printPGM(PSTR("X"));
696
+          lcd_printPGM(PSTR(MSG_X));
697 697
         else {
698 698
           if (!axis_homed[X_AXIS])
699 699
             lcd_printPGM(PSTR("?"));
@@ -703,14 +703,14 @@ static void lcd_implementation_status_screen() {
703 703
                 lcd_printPGM(PSTR(" "));
704 704
               else
705 705
             #endif
706
-            lcd_printPGM(PSTR("X"));
706
+            lcd_printPGM(PSTR(MSG_X));
707 707
         }
708 708
 
709 709
         lcd.print(ftostr4sign(current_position[X_AXIS]));
710 710
 
711 711
         lcd_printPGM(PSTR(" "));
712 712
         if (blink)
713
-          lcd_printPGM(PSTR("Y"));
713
+          lcd_printPGM(PSTR(MSG_Y));
714 714
         else {
715 715
           if (!axis_homed[Y_AXIS])
716 716
             lcd_printPGM(PSTR("?"));
@@ -720,7 +720,7 @@ static void lcd_implementation_status_screen() {
720 720
                 lcd_printPGM(PSTR(" "));
721 721
               else
722 722
             #endif
723
-            lcd_printPGM(PSTR("Y"));
723
+            lcd_printPGM(PSTR(MSG_Y));
724 724
         }
725 725
         lcd.print(ftostr4sign(current_position[Y_AXIS]));
726 726
 
@@ -730,7 +730,7 @@ static void lcd_implementation_status_screen() {
730 730
 
731 731
     lcd.setCursor(LCD_WIDTH - 8, 1);
732 732
     if (blink)
733
-      lcd_printPGM(PSTR("Z"));
733
+      lcd_printPGM(PSTR(MSG_Z));
734 734
     else {
735 735
       if (!axis_homed[Z_AXIS])
736 736
         lcd_printPGM(PSTR("?"));
@@ -740,7 +740,7 @@ static void lcd_implementation_status_screen() {
740 740
             lcd_printPGM(PSTR(" "));
741 741
           else
742 742
         #endif
743
-        lcd_printPGM(PSTR("Z"));
743
+        lcd_printPGM(PSTR(MSG_Z));
744 744
     }
745 745
     lcd.print(ftostr32sp(current_position[Z_AXIS] + 0.00001));
746 746
 

Loading…
Cancel
Save