|
@ -537,7 +537,7 @@ void Endstops::update() { |
|
|
/**
|
|
|
/**
|
|
|
* Check and update endstops |
|
|
* Check and update endstops |
|
|
*/ |
|
|
*/ |
|
|
#if HAS_X_MIN |
|
|
#if HAS_X_MIN && !X_SPI_SENSORLESS |
|
|
#if ENABLED(X_DUAL_ENDSTOPS) |
|
|
#if ENABLED(X_DUAL_ENDSTOPS) |
|
|
UPDATE_ENDSTOP_BIT(X, MIN); |
|
|
UPDATE_ENDSTOP_BIT(X, MIN); |
|
|
#if HAS_X2_MIN |
|
|
#if HAS_X2_MIN |
|
@ -550,7 +550,7 @@ void Endstops::update() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_X_MAX |
|
|
#if HAS_X_MAX && !X_SPI_SENSORLESS |
|
|
#if ENABLED(X_DUAL_ENDSTOPS) |
|
|
#if ENABLED(X_DUAL_ENDSTOPS) |
|
|
UPDATE_ENDSTOP_BIT(X, MAX); |
|
|
UPDATE_ENDSTOP_BIT(X, MAX); |
|
|
#if HAS_X2_MAX |
|
|
#if HAS_X2_MAX |
|
@ -563,7 +563,7 @@ void Endstops::update() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_Y_MIN |
|
|
#if HAS_Y_MIN && !Y_SPI_SENSORLESS |
|
|
#if ENABLED(Y_DUAL_ENDSTOPS) |
|
|
#if ENABLED(Y_DUAL_ENDSTOPS) |
|
|
UPDATE_ENDSTOP_BIT(Y, MIN); |
|
|
UPDATE_ENDSTOP_BIT(Y, MIN); |
|
|
#if HAS_Y2_MIN |
|
|
#if HAS_Y2_MIN |
|
@ -576,7 +576,7 @@ void Endstops::update() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_Y_MAX |
|
|
#if HAS_Y_MAX && !Y_SPI_SENSORLESS |
|
|
#if ENABLED(Y_DUAL_ENDSTOPS) |
|
|
#if ENABLED(Y_DUAL_ENDSTOPS) |
|
|
UPDATE_ENDSTOP_BIT(Y, MAX); |
|
|
UPDATE_ENDSTOP_BIT(Y, MAX); |
|
|
#if HAS_Y2_MAX |
|
|
#if HAS_Y2_MAX |
|
@ -589,7 +589,7 @@ void Endstops::update() { |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_Z_MIN |
|
|
#if HAS_Z_MIN && !Z_SPI_SENSORLESS |
|
|
#if Z_MULTI_ENDSTOPS |
|
|
#if Z_MULTI_ENDSTOPS |
|
|
UPDATE_ENDSTOP_BIT(Z, MIN); |
|
|
UPDATE_ENDSTOP_BIT(Z, MIN); |
|
|
#if HAS_Z2_MIN |
|
|
#if HAS_Z2_MIN |
|
@ -616,7 +616,7 @@ void Endstops::update() { |
|
|
UPDATE_ENDSTOP_BIT(Z, MIN_PROBE); |
|
|
UPDATE_ENDSTOP_BIT(Z, MIN_PROBE); |
|
|
#endif |
|
|
#endif |
|
|
|
|
|
|
|
|
#if HAS_Z_MAX |
|
|
#if HAS_Z_MAX && !Z_SPI_SENSORLESS |
|
|
// Check both Z dual endstops
|
|
|
// Check both Z dual endstops
|
|
|
#if Z_MULTI_ENDSTOPS |
|
|
#if Z_MULTI_ENDSTOPS |
|
|
UPDATE_ENDSTOP_BIT(Z, MAX); |
|
|
UPDATE_ENDSTOP_BIT(Z, MAX); |
|
|