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

This commit is contained in:
Keith Bennett 2020-10-12 14:52:56 -07:00 committed by Scott Lahteine
parent 8b060a3902
commit d3d423a322

View File

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