Skip to content

Commit

Permalink
🐛 Fix wrong Z_ENDSTOP flag bit (#21963)
Browse files Browse the repository at this point in the history
Bug introduced in #18424
  • Loading branch information
CZDanol authored and thinkyhead committed May 22, 2021
1 parent 7c2834c commit 43b7369
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/module/endstops.h
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ enum EndstopEnum : char {

#define X_ENDSTOP TERN(X_HOME_TO_MAX, X_MAX, X_MIN)
#define Y_ENDSTOP TERN(Y_HOME_TO_MAX, Y_MAX, Y_MIN)
#define Z_ENDSTOP TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN, Z_MIN_PROBE))
#define Z_ENDSTOP TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN_PROBE, Z_MIN))

#undef __ES_ITEM
#undef _ES_ITEM
Expand Down

0 comments on commit 43b7369

Please sign in to comment.