Parcourir la source

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

Keith Bennett il y a 3 ans
Parent
révision
d3d423a322
1 fichiers modifiés avec 4 ajouts et 0 suppressions
  1. 4
    0
      Marlin/src/inc/SanityCheck.h

+ 4
- 0
Marlin/src/inc/SanityCheck.h Voir le fichier

@@ -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

Chargement…
Annuler
Enregistrer