Skip to content

Commit

Permalink
🐛 Fix Z endstop enum
Browse files Browse the repository at this point in the history
Followup to 92dea8e
  • Loading branch information
thinkyhead committed Jun 11, 2021
1 parent 5ee91c7 commit e7945c2
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 @@ -75,7 +75,7 @@ enum EndstopEnum : char {
#if HAS_Y_MIN || HAS_Y_MAX
, Y_ENDSTOP = TERN(Y_HOME_TO_MAX, Y_MAX, Y_MIN)
#endif
#if HAS_Z_MIN || HAS_Z_MAX
#if HAS_Z_MIN || HAS_Z_MAX || HOMING_Z_WITH_PROBE
, Z_ENDSTOP = TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN_PROBE, Z_MIN))
#endif
};
Expand Down

0 comments on commit e7945c2

Please sign in to comment.