Rename ENABLE_AUTO_BED_LEVELING
With the introduction of the #if ENABLED(…) reads better than
This commit is contained in:
		| @@ -477,10 +477,11 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|  | ||||
| // @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 // Z probe repeatability test is not supported in Deltas yet. | ||||
| //#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: | ||||
|   // | ||||
| @@ -677,7 +678,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|   // | ||||
|   //#define Z_MIN_PROBE_ENDSTOP | ||||
|  | ||||
| #endif // ENABLE_AUTO_BED_LEVELING | ||||
| #endif // AUTO_BED_LEVELING_FEATURE | ||||
|  | ||||
|  | ||||
| // @section homing | ||||
| @@ -728,7 +729,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
| // 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 | ||||
|   | ||||
| @@ -477,10 +477,12 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|  | ||||
| // @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 // Z probe repeatability test is not supported in Deltas yet. | ||||
|  | ||||
| #if ENABLED(ENABLE_AUTO_BED_LEVELING) | ||||
| //#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(AUTO_BED_LEVELING_FEATURE) | ||||
|  | ||||
|   // There are 2 different ways to specify probing locations. | ||||
|   // | ||||
| @@ -677,7 +679,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
|   // | ||||
|   //#define Z_MIN_PROBE_ENDSTOP | ||||
|  | ||||
| #endif // ENABLE_AUTO_BED_LEVELING | ||||
| #endif // AUTO_BED_LEVELING_FEATURE | ||||
|  | ||||
|  | ||||
| // @section homing | ||||
| @@ -728,7 +730,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo | ||||
| // 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 | ||||
|   | ||||
| @@ -477,10 +477,12 @@ 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 // Z probe repeatability test is not supported in Deltas yet. | ||||
|  | ||||
| #if ENABLED(ENABLE_AUTO_BED_LEVELING) | ||||
| //#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(AUTO_BED_LEVELING_FEATURE) | ||||
|  | ||||
|   // There are 2 different ways to specify probing locations: | ||||
|   // | ||||
| @@ -681,7 +683,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 | ||||
| @@ -732,7 +734,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 | ||||
|   | ||||
| @@ -464,10 +464,12 @@ 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. | ||||
|  | ||||
| #if ENABLED(ENABLE_AUTO_BED_LEVELING) | ||||
| //#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(AUTO_BED_LEVELING_FEATURE) | ||||
|  | ||||
|   // There are 2 different ways to specify probing locations: | ||||
|   // | ||||
| @@ -666,7 +668,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 | ||||
| @@ -727,7 +729,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 -15 | ||||
|     #define Z_PROBE_OFFSET_RANGE_MAX -5 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user