1
0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2024-11-30 23:30:16 +00:00

🐛 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 7c2834c33c
commit 43b736906a

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