From 738ae4be331b8d580cb22b7ec6e33ab095e3e81c Mon Sep 17 00:00:00 2001 From: Danol Date: Sun, 23 May 2021 00:35:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20wrong=20Z=5FENDSTOP=20flag?= =?UTF-8?q?=20bit=20(#21963)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug introduced in #18424 --- Marlin/src/module/endstops.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Marlin/src/module/endstops.h b/Marlin/src/module/endstops.h index acd241d43..c3819417e 100644 --- a/Marlin/src/module/endstops.h +++ b/Marlin/src/module/endstops.h @@ -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