Browse Source

Moved checks into SanityCheck.h + removed previous added checks.

pull/1/head
Edward Patel 9 years ago
parent
commit
a9ed39b12d
  1. 9
      Marlin/Configuration.h
  2. 12
      Marlin/SanityCheck.h
  3. 9
      Marlin/configurator/config/Configuration.h
  4. 9
      Marlin/example_configurations/Felix/Configuration.h
  5. 9
      Marlin/example_configurations/Hephestos/Configuration.h
  6. 9
      Marlin/example_configurations/K8200/Configuration.h
  7. 9
      Marlin/example_configurations/SCARA/Configuration.h
  8. 9
      Marlin/example_configurations/WITBOX/Configuration.h
  9. 9
      Marlin/example_configurations/delta/generic/Configuration.h
  10. 9
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  11. 9
      Marlin/example_configurations/makibox/Configuration.h
  12. 9
      Marlin/example_configurations/tvrrug/Round2/Configuration.h

9
Marlin/Configuration.h

@ -431,11 +431,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -456,10 +451,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

12
Marlin/SanityCheck.h

@ -91,6 +91,18 @@
#error You must enable either DISPLAY_CHARSET_HD44780_JAPAN or DISPLAY_CHARSET_HD44780_WESTERN for your LCD controller.
#endif
/**
* Mesh Bed Leveling
*/
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error MESH_BED_LEVELING does not yet support DELTA printers
#endif
#ifdef ENABLE_AUTO_BED_LEVELING
#error Select ENABLE_AUTO_BED_LEVELING or MESH_BED_LEVELING, not both
#endif
#endif
/**
* Auto Bed Leveling
*/

9
Marlin/configurator/config/Configuration.h

@ -431,11 +431,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -456,10 +451,6 @@ const bool Z_PROBE_ENDSTOP_INVERTING = false; // set to true to invert the logic
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/Felix/Configuration.h

@ -369,11 +369,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -392,10 +387,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/Hephestos/Configuration.h

@ -392,11 +392,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -415,10 +410,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/K8200/Configuration.h

@ -397,11 +397,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -420,10 +415,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/SCARA/Configuration.h

@ -421,11 +421,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -444,10 +439,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/WITBOX/Configuration.h

@ -391,11 +391,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -414,10 +409,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/delta/generic/Configuration.h

@ -419,11 +419,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -442,10 +437,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/delta/kossel_mini/Configuration.h

@ -419,11 +419,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -442,10 +437,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = false; // set to true to invert the logic o
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/makibox/Configuration.h

@ -389,11 +389,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -412,10 +407,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

9
Marlin/example_configurations/tvrrug/Round2/Configuration.h

@ -391,11 +391,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#endif // MANUAL_BED_LEVELING
#ifdef MESH_BED_LEVELING
#ifdef DELTA
#error 'MESH_BED_LEVELING' does not yet support 'DELTA' printers
#endif
#define MESH_MIN_X 10
#define MESH_MAX_X (X_MAX_POS - MESH_MIN_X)
#define MESH_MIN_Y 10
@ -414,10 +409,6 @@ const bool Z_MAX_ENDSTOP_INVERTING = true; // set to true to invert the logic of
#ifdef ENABLE_AUTO_BED_LEVELING
#ifdef MESH_BED_LEVELING
#error Select 'ENABLE_AUTO_BED_LEVELING' or 'MESH_BED_LEVELING', not both
#endif // MESH_BED_LEVELING
// There are 2 different ways to specify probing locations
//
// - "grid" mode

Loading…
Cancel
Save