Rename ENABLE_AUTO_BED_LEVELING
With the introduction of the #if ENABLED(…) reads better than
This commit is contained in:
@ -428,10 +428,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||
|
||||
// @section bedlevel
|
||||
|
||||
//#define ENABLE_AUTO_BED_LEVELING // Delete the comment to enable (remove // at the start of the line).
|
||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z probe repeatability test will be included if auto bed leveling is enabled.
|
||||
//#define AUTO_BED_LEVELING_FEATURE // Delete the comment to enable (remove // at the start of the line)
|
||||
//#define DEBUG_LEVELING_FEATURE
|
||||
//#define Z_MIN_PROBE_REPEATABILITY_TEST // If not commented out, Z-Probe Repeatability test will be included if Auto Bed Leveling is Enabled.
|
||||
|
||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||
|
||||
// There are 2 different ways to specify probing locations:
|
||||
//
|
||||
@ -543,7 +544,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||
//
|
||||
//#define Z_MIN_PROBE_ENDSTOP
|
||||
|
||||
#endif // ENABLE_AUTO_BED_LEVELING
|
||||
#endif // AUTO_BED_LEVELING_FEATURE
|
||||
|
||||
|
||||
// @section homing
|
||||
@ -595,7 +596,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l
|
||||
// Custom M code points
|
||||
#define CUSTOM_M_CODES
|
||||
#if ENABLED(CUSTOM_M_CODES)
|
||||
#if ENABLED(ENABLE_AUTO_BED_LEVELING)
|
||||
#if ENABLED(AUTO_BED_LEVELING_FEATURE)
|
||||
#define CUSTOM_M_CODE_SET_Z_PROBE_OFFSET 851
|
||||
#define Z_PROBE_OFFSET_RANGE_MIN -20
|
||||
#define Z_PROBE_OFFSET_RANGE_MAX 20
|
||||
|
Reference in New Issue
Block a user