From 0ce6fff5d2a4d0593f0c76c0e18575051ca767d1 Mon Sep 17 00:00:00 2001 From: Knutwurst <36196269+knutwurst@users.noreply.github.com> Date: Fri, 7 Aug 2020 15:36:44 +0200 Subject: [PATCH] Bugfix: Endstops where mixed up when Mega S is selected. Thanks to "maximych" from thingiverse ;) --- Marlin/Configuration.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 71706f40..fb3b310d 100755 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -712,17 +712,6 @@ #endif #if ENABLED(KNUTWURST_MEGA_X) - // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). - #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe. -#endif - -#if EITHER(KNUTWURST_MEGA, KNUTWURST_MEGA_S) // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Y_MIN_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. @@ -730,7 +719,18 @@ #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #define Z_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. - #define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the probe. + //#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. +#endif + +#if EITHER(KNUTWURST_MEGA, KNUTWURST_MEGA_S) + // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup). + #define X_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. + #define Y_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. + #define Z_MIN_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. + #define X_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. + #define Y_MAX_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. + #define Z_MAX_ENDSTOP_INVERTING false // set to true to invert the logic of the endstop. + //#define Z_MIN_PROBE_ENDSTOP_INVERTING true // set to true to invert the logic of the endstop. #endif /**