IS_DELTA => ENABLED(DELTA)

This commit is contained in:
Scott Lahteine 2018-11-03 03:48:36 -05:00
parent 19f49db96f
commit 6e3caf23b6
2 changed files with 5 additions and 5 deletions

View File

@ -200,7 +200,7 @@
#define MSG_VA_JERK _UxGT("jogo VA")
#define MSG_VB_JERK _UxGT("jogo VB")
#define MSG_VC_JERK _UxGT("jogo VZ")
#elif IS_DELTA
#elif ENABLED(DELTA)
#define MSG_VA_JERK _UxGT("jogo VA")
#define MSG_VB_JERK _UxGT("jogo VB")
#define MSG_VC_JERK _UxGT("jogo VC")
@ -222,7 +222,7 @@
#define MSG_ASTEPS _UxGT("Passo A/deg")
#define MSG_BSTEPS _UxGT("Passo B/deg")
#define MSG_CSTEPS _UxGT("Passo Z/mm")
#elif IS_DELTA
#elif ENABLED(DELTA)
#define MSG_ASTEPS _UxGT("Passo A/mm")
#define MSG_BSTEPS _UxGT("Passo B/mm")
#define MSG_CSTEPS _UxGT("Passo C/mm")

View File

@ -2218,21 +2218,21 @@ void Stepper::report_positions() {
if (was_enabled) ENABLE_STEPPER_DRIVER_INTERRUPT();
#if CORE_IS_XY || CORE_IS_XZ || IS_DELTA || IS_SCARA
#if CORE_IS_XY || CORE_IS_XZ || ENABLED(DELTA) || IS_SCARA
SERIAL_PROTOCOLPGM(MSG_COUNT_A);
#else
SERIAL_PROTOCOLPGM(MSG_COUNT_X);
#endif
SERIAL_PROTOCOL(xpos);
#if CORE_IS_XY || CORE_IS_YZ || IS_DELTA || IS_SCARA
#if CORE_IS_XY || CORE_IS_YZ || ENABLED(DELTA) || IS_SCARA
SERIAL_PROTOCOLPGM(" B:");
#else
SERIAL_PROTOCOLPGM(" Y:");
#endif
SERIAL_PROTOCOL(ypos);
#if CORE_IS_XZ || CORE_IS_YZ || IS_DELTA
#if CORE_IS_XZ || CORE_IS_YZ || ENABLED(DELTA)
SERIAL_PROTOCOLPGM(" C:");
#else
SERIAL_PROTOCOLPGM(" Z:");