Browse Source

Sanity-check mutually-exclusive G34 features (#19706)

Keith Bennett 3 years ago
parent
commit
d3d423a322
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h View File

@@ -2803,6 +2803,10 @@ static_assert(   _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
2803 2803
   #endif
2804 2804
 #endif
2805 2805
 
2806
+#if BOTH(Z_STEPPER_AUTO_ALIGN, MECHANICAL_GANTRY_CALIBRATION)
2807
+  #error "You cannot use Z_STEPPER_AUTO_ALIGN and MECHANICAL_GANTRY_CALIBRATION at the same time."
2808
+#endif
2809
+
2806 2810
 #if ENABLED(PRINTCOUNTER) && DISABLED(EEPROM_SETTINGS)
2807 2811
   #error "PRINTCOUNTER requires EEPROM_SETTINGS. Please update your Configuration."
2808 2812
 #endif

Loading…
Cancel
Save