Преглед изворни кода

Use MSG_X, etc., on Hitachi LCD

Scott Lahteine пре 9 година
родитељ
комит
b281001329
1 измењених фајлова са 6 додато и 6 уклоњено
  1. 6
    6
      Marlin/ultralcd_implementation_hitachi_HD44780.h

+ 6
- 6
Marlin/ultralcd_implementation_hitachi_HD44780.h Прегледај датотеку

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

Loading…
Откажи
Сачувај