From 92a27c37b317543d2dbaaa5a9f18227f99dbb7b7 Mon Sep 17 00:00:00 2001 From: Edward Patel Date: Mon, 30 May 2016 09:50:11 +0200 Subject: [PATCH] MBL: Apply https://github.com/MarlinFirmware/Marlin/pull/3903 to example_configurations --- Marlin/example_configurations/Felix/Configuration.h | 5 +---- Marlin/example_configurations/Felix/DUAL/Configuration.h | 5 +---- Marlin/example_configurations/Hephestos/Configuration.h | 5 +---- Marlin/example_configurations/Hephestos_2/Configuration.h | 5 +---- Marlin/example_configurations/K8200/Configuration.h | 5 +---- .../RepRapWorld/Megatronics/Configuration.h | 5 +---- Marlin/example_configurations/RigidBot/Configuration.h | 5 +---- Marlin/example_configurations/SCARA/Configuration.h | 5 +---- Marlin/example_configurations/TAZ4/Configuration.h | 5 +---- Marlin/example_configurations/WITBOX/Configuration.h | 5 +---- .../example_configurations/adafruit/ST7565/Configuration.h | 5 +---- Marlin/example_configurations/delta/biv2.5/Configuration.h | 5 +---- Marlin/example_configurations/delta/generic/Configuration.h | 5 +---- .../example_configurations/delta/kossel_mini/Configuration.h | 5 +---- .../example_configurations/delta/kossel_pro/Configuration.h | 5 +---- .../example_configurations/delta/kossel_xl/Configuration.h | 5 +---- Marlin/example_configurations/makibox/Configuration.h | 5 +---- Marlin/example_configurations/tvrrug/Round2/Configuration.h | 5 +---- 18 files changed, 18 insertions(+), 72 deletions(-) diff --git a/Marlin/example_configurations/Felix/Configuration.h b/Marlin/example_configurations/Felix/Configuration.h index 3b9c62184a..3bacb22eac 100644 --- a/Marlin/example_configurations/Felix/Configuration.h +++ b/Marlin/example_configurations/Felix/Configuration.h @@ -501,10 +501,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/Felix/DUAL/Configuration.h b/Marlin/example_configurations/Felix/DUAL/Configuration.h index c4e03aadaa..67b1500186 100644 --- a/Marlin/example_configurations/Felix/DUAL/Configuration.h +++ b/Marlin/example_configurations/Felix/DUAL/Configuration.h @@ -499,10 +499,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/Hephestos/Configuration.h b/Marlin/example_configurations/Hephestos/Configuration.h index a2a43ed9b9..fd6051945f 100644 --- a/Marlin/example_configurations/Hephestos/Configuration.h +++ b/Marlin/example_configurations/Hephestos/Configuration.h @@ -511,10 +511,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/Hephestos_2/Configuration.h b/Marlin/example_configurations/Hephestos_2/Configuration.h index 3be2505bb2..3a9e23ce91 100644 --- a/Marlin/example_configurations/Hephestos_2/Configuration.h +++ b/Marlin/example_configurations/Hephestos_2/Configuration.h @@ -513,10 +513,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/K8200/Configuration.h b/Marlin/example_configurations/K8200/Configuration.h index c9dc2c3feb..95338bd367 100644 --- a/Marlin/example_configurations/K8200/Configuration.h +++ b/Marlin/example_configurations/K8200/Configuration.h @@ -536,10 +536,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h b/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h index 4c03ddf3c0..740e0cbb2b 100644 --- a/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h +++ b/Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h @@ -519,10 +519,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/RigidBot/Configuration.h b/Marlin/example_configurations/RigidBot/Configuration.h index e3d38fda03..a532d702b3 100644 --- a/Marlin/example_configurations/RigidBot/Configuration.h +++ b/Marlin/example_configurations/RigidBot/Configuration.h @@ -513,10 +513,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/SCARA/Configuration.h b/Marlin/example_configurations/SCARA/Configuration.h index 15e83223ee..127fc5f87f 100644 --- a/Marlin/example_configurations/SCARA/Configuration.h +++ b/Marlin/example_configurations/SCARA/Configuration.h @@ -527,10 +527,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/TAZ4/Configuration.h b/Marlin/example_configurations/TAZ4/Configuration.h index f65443b6dd..6da5d80c16 100644 --- a/Marlin/example_configurations/TAZ4/Configuration.h +++ b/Marlin/example_configurations/TAZ4/Configuration.h @@ -540,10 +540,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/WITBOX/Configuration.h b/Marlin/example_configurations/WITBOX/Configuration.h index 380759fc80..55d2136c12 100644 --- a/Marlin/example_configurations/WITBOX/Configuration.h +++ b/Marlin/example_configurations/WITBOX/Configuration.h @@ -511,10 +511,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/adafruit/ST7565/Configuration.h b/Marlin/example_configurations/adafruit/ST7565/Configuration.h index 12142aff02..670bc63460 100644 --- a/Marlin/example_configurations/adafruit/ST7565/Configuration.h +++ b/Marlin/example_configurations/adafruit/ST7565/Configuration.h @@ -519,10 +519,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/delta/biv2.5/Configuration.h b/Marlin/example_configurations/delta/biv2.5/Configuration.h index 9ccfaca36d..3c4d589a65 100644 --- a/Marlin/example_configurations/delta/biv2.5/Configuration.h +++ b/Marlin/example_configurations/delta/biv2.5/Configuration.h @@ -561,10 +561,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/delta/generic/Configuration.h b/Marlin/example_configurations/delta/generic/Configuration.h index 1465d2d4c0..12e195c5e0 100644 --- a/Marlin/example_configurations/delta/generic/Configuration.h +++ b/Marlin/example_configurations/delta/generic/Configuration.h @@ -561,10 +561,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/delta/kossel_mini/Configuration.h b/Marlin/example_configurations/delta/kossel_mini/Configuration.h index c432ec4700..67a02053de 100644 --- a/Marlin/example_configurations/delta/kossel_mini/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_mini/Configuration.h @@ -561,10 +561,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/delta/kossel_pro/Configuration.h b/Marlin/example_configurations/delta/kossel_pro/Configuration.h index 8c7042f7bd..c03fd2fc61 100644 --- a/Marlin/example_configurations/delta/kossel_pro/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_pro/Configuration.h @@ -550,10 +550,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/delta/kossel_xl/Configuration.h b/Marlin/example_configurations/delta/kossel_xl/Configuration.h index b0ce02ff80..31aab5a882 100644 --- a/Marlin/example_configurations/delta/kossel_xl/Configuration.h +++ b/Marlin/example_configurations/delta/kossel_xl/Configuration.h @@ -559,10 +559,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/makibox/Configuration.h b/Marlin/example_configurations/makibox/Configuration.h index f331853821..9abfe8db6f 100644 --- a/Marlin/example_configurations/makibox/Configuration.h +++ b/Marlin/example_configurations/makibox/Configuration.h @@ -522,10 +522,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the l //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0. diff --git a/Marlin/example_configurations/tvrrug/Round2/Configuration.h b/Marlin/example_configurations/tvrrug/Round2/Configuration.h index 3b6abfec50..01b6a06410 100644 --- a/Marlin/example_configurations/tvrrug/Round2/Configuration.h +++ b/Marlin/example_configurations/tvrrug/Round2/Configuration.h @@ -509,10 +509,7 @@ const bool Z_MIN_PROBE_ENDSTOP_INVERTING = true; // set to true to invert the lo //#define MESH_BED_LEVELING // Enable mesh bed leveling. #if ENABLED(MESH_BED_LEVELING) - #define MESH_MIN_X 10 - #define MESH_MAX_X (X_MAX_POS - (MESH_MIN_X)) - #define MESH_MIN_Y 10 - #define MESH_MAX_Y (Y_MAX_POS - (MESH_MIN_Y)) + #define MESH_INSET 10 // Mesh inset margin on print area #define MESH_NUM_X_POINTS 3 // Don't use more than 7 points per axis, implementation limited. #define MESH_NUM_Y_POINTS 3 #define MESH_HOME_SEARCH_Z 4 // Z after Home, bed somewhere below but above 0.0.