Browse Source

IS_DELTA => ENABLED(DELTA)

pull/1/head
Scott Lahteine 6 years ago
parent
commit
6e3caf23b6
  1. 4
      Marlin/src/lcd/language/language_pt-br.h
  2. 6
      Marlin/src/module/stepper.cpp

4
Marlin/src/lcd/language/language_pt-br.h

@ -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")

6
Marlin/src/module/stepper.cpp

@ -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:");

Loading…
Cancel
Save