diff options
Diffstat (limited to 'stepper.cpp')
-rw-r--r-- | stepper.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/stepper.cpp b/stepper.cpp index e357c6892..287664a96 100644 --- a/stepper.cpp +++ b/stepper.cpp @@ -178,18 +178,18 @@ void checkHitEndstops() { if( endstop_x_hit || endstop_y_hit || endstop_z_hit) { SERIAL_ECHO_START; - SERIAL_ECHOPGM(MSG_ENDSTOPS_HIT); + SERIAL_ECHORPGM(MSG_ENDSTOPS_HIT); if(endstop_x_hit) { SERIAL_ECHOPAIR(" X:",(float)endstops_trigsteps[X_AXIS]/axis_steps_per_unit[X_AXIS]); - LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "X"); + LCD_MESSAGERPGM(CAT2(MSG_ENDSTOPS_HIT, PSTR("X"))); } if(endstop_y_hit) { SERIAL_ECHOPAIR(" Y:",(float)endstops_trigsteps[Y_AXIS]/axis_steps_per_unit[Y_AXIS]); - LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Y"); + LCD_MESSAGERPGM(CAT2(MSG_ENDSTOPS_HIT, PSTR("Y"))); } if(endstop_z_hit) { SERIAL_ECHOPAIR(" Z:",(float)endstops_trigsteps[Z_AXIS]/axis_steps_per_unit[Z_AXIS]); - LCD_MESSAGEPGM(MSG_ENDSTOPS_HIT "Z"); + LCD_MESSAGERPGM(CAT2(MSG_ENDSTOPS_HIT,PSTR("Z"))); } SERIAL_ECHOLN(""); endstop_x_hit=false; |