diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index dd4a94388..3dfc9544c 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -357,7 +357,9 @@ #endif // When G28 is called, this option will make Y home before X -//#define HOME_Y_BEFORE_X +#if defined(LULZBOT_HOME_Y_BEFORE_X) +#define HOME_Y_BEFORE_X +#endif // @section machine diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index ea19f241c..3691ec045 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -4032,7 +4032,6 @@ inline void gcode_G28(const bool always_home_all) { #endif #if ENABLED(HOME_Y_BEFORE_X) - // Home Y if (home_all || homeY) { HOMEAXIS(Y); diff --git a/Marlin/endstops.cpp b/Marlin/endstops.cpp index 9f217c088..0bbc3c2ac 100644 --- a/Marlin/endstops.cpp +++ b/Marlin/endstops.cpp @@ -154,6 +154,7 @@ void Endstops::report_state() { #define ENDSTOP_HIT_TEST_Y() _ENDSTOP_HIT_TEST(Y,'Y') #define ENDSTOP_HIT_TEST_Z() _ENDSTOP_HIT_TEST(Z,'Z') + #if !defined(LULZBOT_SUPPRESS_CHATTY_ENDSTOPS) SERIAL_ECHO_START(); SERIAL_ECHOPGM(MSG_ENDSTOPS_HIT); ENDSTOP_HIT_TEST_X(); @@ -165,6 +166,7 @@ void Endstops::report_state() { if (TEST(endstop_hit_bits, Z_MIN_PROBE)) _ENDSTOP_HIT_ECHO(P, 'P'); #endif SERIAL_EOL(); + #endif #if ENABLED(ULTRA_LCD) lcd_status_printf_P(0, PSTR(MSG_LCD_ENDSTOPS " %c %c %c %c"), chrX, chrY, chrZ, chrP); diff --git a/Marlin/pins_EINSYRAMBO.h b/Marlin/pins_EINSYRAMBO.h index a1cfacfd8..fd05e40ff 100644 --- a/Marlin/pins_EINSYRAMBO.h +++ b/Marlin/pins_EINSYRAMBO.h @@ -168,4 +168,4 @@ #define SD_DETECT_PIN 15 #endif // NEWPANEL -#endif // ULTRA_LCD \ No newline at end of file +#endif // ULTRA_LCD diff --git a/Marlin/stepper_indirection.cpp b/Marlin/stepper_indirection.cpp index f3a0454f2..c23c0de62 100644 --- a/Marlin/stepper_indirection.cpp +++ b/Marlin/stepper_indirection.cpp @@ -126,7 +126,6 @@ // TMC2130 Driver objects and inits // #if ENABLED(HAVE_TMC2130) - #include #include #include "enum.h"