diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index db5ad52ab..e2bda3f80 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -819,7 +819,7 @@ // probing on a screwhead or hollow washer, probe near the edges. //#define CALIBRATION_MEASURE_AT_TOP_EDGES - // Define pin which is read during calibration + // Define the pin to read during calibration #ifndef CALIBRATION_PIN #define CALIBRATION_PIN -1 // Override in pins.h or set to -1 to use your Z endstop #define CALIBRATION_PIN_INVERTING false // Set to true to invert the pin diff --git a/Marlin/src/gcode/lcd/M0_M1.cpp b/Marlin/src/gcode/lcd/M0_M1.cpp index 5bf9e9432..6a6d00ed3 100644 --- a/Marlin/src/gcode/lcd/M0_M1.cpp +++ b/Marlin/src/gcode/lcd/M0_M1.cpp @@ -20,12 +20,14 @@ * */ -#include "../../inc/MarlinConfig.h" +#include "../../inc/MarlinConfigPre.h" #if HAS_RESUME_CONTINUE #include "../gcode.h" -#include "../../module/stepper.h" +#include "../../module/planner.h" + +#include "../../inc/MarlinConfig.h" #if HAS_LCD_MENU #include "../../lcd/ultralcd.h" @@ -35,8 +37,6 @@ #include "../../lcd/extensible_ui/ui_api.h" #endif -#include "../../sd/cardreader.h" - #if HAS_LEDS_OFF_FLAG #include "../../feature/leds/printer_event_leds.h" #endif diff --git a/Marlin/src/pins/rambo/pins_EINSY_RETRO.h b/Marlin/src/pins/rambo/pins_EINSY_RETRO.h index 9ca51ac86..1cb4cf356 100644 --- a/Marlin/src/pins/rambo/pins_EINSY_RETRO.h +++ b/Marlin/src/pins/rambo/pins_EINSY_RETRO.h @@ -38,7 +38,7 @@ #error "You must set ([XYZ]|E0)_DRIVER_TYPE to TMC2130 in Configuration.h for EinsyRetro." #endif -// TMC2130 Diag Pins (currently just for reference) +// TMC2130 Diag Pins #define X_DIAG_PIN 64 #define Y_DIAG_PIN 69 #define Z_DIAG_PIN 68 @@ -55,27 +55,27 @@ #if DISABLED(SENSORLESS_HOMING) - #define X_MIN_PIN 12 - #define Y_MIN_PIN 11 - #define Z_MIN_PIN 10 - #define X_MAX_PIN 81 - #define Y_MAX_PIN 57 + #define X_MIN_PIN 12 // X- + #define Y_MIN_PIN 11 // Y- + #define Z_MIN_PIN 10 // Z- + #define X_MAX_PIN 81 // X+ + #define Y_MAX_PIN 57 // Y+ #else #if X_HOME_DIR < 0 #define X_MIN_PIN X_DIAG_PIN - #define X_MAX_PIN 81 + #define X_MAX_PIN 81 // X+ #else - #define X_MIN_PIN 12 + #define X_MIN_PIN 12 // X- #define X_MAX_PIN X_DIAG_PIN #endif #if Y_HOME_DIR < 0 #define Y_MIN_PIN Y_DIAG_PIN - #define Y_MAX_PIN 57 + #define Y_MAX_PIN 57 // Y+ #else - #define Y_MIN_PIN 11 + #define Y_MIN_PIN 11 // Y- #define Y_MAX_PIN Y_DIAG_PIN #endif