Browse Source

🐛 Fix wrong Z_ENDSTOP flag bit (#21963)

Bug introduced in #18424
Danol 3 years ago
parent
commit
43b736906a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/module/endstops.h

+ 1
- 1
Marlin/src/module/endstops.h View File

@@ -64,7 +64,7 @@ enum EndstopEnum : char {
64 64
 
65 65
 #define X_ENDSTOP TERN(X_HOME_TO_MAX, X_MAX, X_MIN)
66 66
 #define Y_ENDSTOP TERN(Y_HOME_TO_MAX, Y_MAX, Y_MIN)
67
-#define Z_ENDSTOP TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN, Z_MIN_PROBE))
67
+#define Z_ENDSTOP TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN_PROBE, Z_MIN))
68 68
 
69 69
 #undef __ES_ITEM
70 70
 #undef _ES_ITEM

Loading…
Cancel
Save