diff --git a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h index 316049d6b..3fb66aa15 100644 --- a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h +++ b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h @@ -79,14 +79,20 @@ #define Z_MIN_PIN P1_00 // PWRDET #endif #else - #define Z_STOP_PIN P1_27 // Z-STOP + #ifndef Z_STOP_PIN + #define Z_STOP_PIN P1_27 // Z-STOP + #endif #endif // // Z Probe (when not Z_MIN_PIN) // #ifndef Z_MIN_PROBE_PIN - #define Z_MIN_PROBE_PIN P0_10 + #if Z_STOP_PIN != P1_27 + #define Z_MIN_PROBE_PIN P1_27 + #else + #define Z_MIN_PROBE_PIN P0_10 + #endif #endif //