Skip to content

Commit 8003a43

Browse files
thisiskeithbthinkyhead
authored andcommitted
Sanity-check mutually-exclusive G34 features (MarlinFirmware#19706)
1 parent e173b7f commit 8003a43

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Marlin/src/inc/SanityCheck.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2803,6 +2803,10 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
28032803
#endif
28042804
#endif
28052805

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+
28062810
#if ENABLED(PRINTCOUNTER) && DISABLED(EEPROM_SETTINGS)
28072811
#error "PRINTCOUNTER requires EEPROM_SETTINGS. Please update your Configuration."
28082812
#endif

0 commit comments

Comments
 (0)