diff --git a/Marlin/Configuration.h b/Marlin/Configuration.h index 3a71ab687332..21b78949dcb4 100644 --- a/Marlin/Configuration.h +++ b/Marlin/Configuration.h @@ -21,6 +21,24 @@ */ #pragma once +//#warning "Author warning: check bed size and height (X_BED_SIZE, ...), this is for development only" + +#define D301_AUTO_LEVELING +//#warning "Author warning: check if you have auto_leveling on your printer" + +// author atsju, this is only to help. Will not be here in production +#ifdef D301_AUTO_LEVELING + #define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN + #define BLTOUCH + #define Z_SAFE_HOMING + #define AUTO_BED_LEVELING_BILINEAR + #define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. +#else + #define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop. +#endif + + + /** * Configuration.h * @@ -841,7 +859,7 @@ // 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 Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. #define I_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. #define J_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. #define K_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop. diff --git a/Marlin/Configuration_adv.h b/Marlin/Configuration_adv.h index df494550998f..73679c1e23ed 100644 --- a/Marlin/Configuration_adv.h +++ b/Marlin/Configuration_adv.h @@ -902,7 +902,7 @@ * differs, a mode set eeprom write will be completed at initialization. * Use the option below to force an eeprom write to a V3.1 probe regardless. */ - #define BLTOUCH_SET_5V_MODE + //#define BLTOUCH_SET_5V_MODE /** * Safety: Activate if connecting a probe with an unknown voltage mode.