🐛 Fix Z endstop enum
Followup to 92dea8e6cc
This commit is contained in:
parent
5ee91c73ed
commit
e7945c2277
|
@ -75,7 +75,7 @@ enum EndstopEnum : char {
|
||||||
#if HAS_Y_MIN || HAS_Y_MAX
|
#if HAS_Y_MIN || HAS_Y_MAX
|
||||||
, Y_ENDSTOP = TERN(Y_HOME_TO_MAX, Y_MAX, Y_MIN)
|
, Y_ENDSTOP = TERN(Y_HOME_TO_MAX, Y_MAX, Y_MIN)
|
||||||
#endif
|
#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))
|
, Z_ENDSTOP = TERN(Z_HOME_TO_MAX, Z_MAX, TERN(HOMING_Z_WITH_PROBE, Z_MIN_PROBE, Z_MIN))
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue