Skip to main content
Sign in
Snippets Groups Projects
Commit 3a1225e4 authored by Scott Lahteine's avatar Scott Lahteine
Browse files

Sanity check SENSORLESS_HOMING

parent 2ea4e74e
Branches
Tags
No related merge requests found
...@@ -241,6 +241,8 @@ ...@@ -241,6 +241,8 @@
#error "ANET_KEYPAD_LCD is now ZONESTAR_LCD. Please update your configuration." #error "ANET_KEYPAD_LCD is now ZONESTAR_LCD. Please update your configuration."
#elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT) #elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT)
#error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration." #error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration."
#elif defined(AUTOMATIC_CURRENT_CONTROL)
#error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS. Please update your configuration."
#endif #endif
/** /**
...@@ -1464,8 +1466,6 @@ static_assert(1 >= 0 ...@@ -1464,8 +1466,6 @@ static_assert(1 >= 0
#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(HYBRID_THRESHOLD) && DISABLED(STEALTHCHOP) #elif ENABLED(HYBRID_THRESHOLD) && DISABLED(STEALTHCHOP)
#error "Enable STEALTHCHOP to use HYBRID_THRESHOLD." #error "Enable STEALTHCHOP to use HYBRID_THRESHOLD."
#elif defined(AUTOMATIC_CURRENT_CONTROL)
#error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS. Please update your configuration."
#endif #endif
#if ENABLED(X_IS_TMC2130) && !PIN_EXISTS(X_CS) #if ENABLED(X_IS_TMC2130) && !PIN_EXISTS(X_CS)
...@@ -1492,12 +1492,15 @@ static_assert(1 >= 0 ...@@ -1492,12 +1492,15 @@ static_assert(1 >= 0
#error "E4_CS_PIN is required for E4_IS_TMC2130. Define E4_CS_PIN in Configuration_adv.h." #error "E4_CS_PIN is required for E4_IS_TMC2130. Define E4_CS_PIN in Configuration_adv.h."
#endif #endif
#elif ENABLED(SENSORLESS_HOMING)
#error "SENSORLESS_HOMING requires TMC2130 stepper drivers."
#endif #endif
/** /**
* Make sure HAVE_TMC2208 is warranted * Make sure HAVE_TMC2208 is warranted
*/ */
#if ENABLED(HAVE_TMC2208) && !( \ #if ENABLED(HAVE_TMC2208) && !( \
ENABLED( X_IS_TMC2208 ) \ ENABLED( X_IS_TMC2208 ) \
|| ENABLED( X2_IS_TMC2208 ) \ || ENABLED( X2_IS_TMC2208 ) \
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment