Apply _AXIS macro

This commit is contained in:
Scott Lahteine
2018-05-13 03:25:31 -05:00
parent 03e8f6c1d9
commit bf0fcebfe6
6 changed files with 30 additions and 30 deletions

View File

@@ -181,7 +181,7 @@ void Endstops::report_state() {
#endif
#define _ENDSTOP_HIT_ECHO(A,C) do{ \
SERIAL_ECHOPAIR(" " STRINGIFY(A) ":", stepper.triggered_position_mm(A ##_AXIS)); \
SERIAL_ECHOPAIR(" " STRINGIFY(A) ":", stepper.triggered_position_mm(_AXIS(A))); \
_SET_STOP_CHAR(A,C); }while(0)
#define _ENDSTOP_HIT_TEST(A,C) \