Tweak sanity-check for SENSORLESS_HOMING

This commit is contained in:
Scott Lahteine 2018-02-04 18:45:12 -06:00
parent 21bfbb9d44
commit e9d374dd54

View File

@ -1485,8 +1485,8 @@ static_assert(1 >= 0
|| ENABLED( E3_IS_TMC2130 ) \ || ENABLED( E3_IS_TMC2130 ) \
|| ENABLED( E4_IS_TMC2130 ) ) || ENABLED( E4_IS_TMC2130 ) )
#error "HAVE_TMC2130 requires at least one TMC2130 stepper to be set." #error "HAVE_TMC2130 requires at least one TMC2130 stepper to be set."
#elif ENABLED(SENSORLESS_HOMING) && DISABLED(HAVE_TMC2130) #elif ENABLED(SENSORLESS_HOMING)
#error "Enable HAVE_TMC2130 to use SENSORLESS_HOMING." #error "SENSORLESS_HOMING requires TMC2130 stepper drivers."
#endif #endif
/** /**