🐛 Fix wrong Z_ENDSTOP flag bit (#21963)

Bug introduced in #18424
This commit is contained in:
Danol 2021-05-23 00:35:07 +02:00 committed by Scott Lahteine
parent e573611021
commit 738ae4be33

View File

@ -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