Fix undefined Z stall

This commit is contained in:
Scott Lahteine 2020-04-28 18:42:31 -05:00
parent e7a6a52eda
commit 1d714512f0

View file

@ -1508,6 +1508,9 @@
// Disable Z axis sensorless homing if a probe is used to home the Z axis // Disable Z axis sensorless homing if a probe is used to home the Z axis
#if HOMING_Z_WITH_PROBE #if HOMING_Z_WITH_PROBE
#undef Z_STALL_SENSITIVITY #undef Z_STALL_SENSITIVITY
#undef Z2_STALL_SENSITIVITY
#undef Z3_STALL_SENSITIVITY
#undef Z4_STALL_SENSITIVITY
#endif #endif
#if defined(X_STALL_SENSITIVITY) && AXIS_HAS_STALLGUARD(X) #if defined(X_STALL_SENSITIVITY) && AXIS_HAS_STALLGUARD(X)
#define X_SENSORLESS 1 #define X_SENSORLESS 1