From e854eb933d54a90a828676bc26f60c00cf14f99d Mon Sep 17 00:00:00 2001 From: LinFor Date: Sun, 6 Oct 2019 04:40:01 +0300 Subject: [PATCH] Allow pins overrides for SKR V1.3 (#15451) --- .../src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h b/Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h index 1febedf2f..e0e9570c6 100644 --- a/Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h +++ b/Marlin/src/pins/lpc1768/pins_BIGTREE_SKR_V1.3.h @@ -33,7 +33,9 @@ // // Servos // -#define SERVO0_PIN P2_00 +#ifndef SERVO0_PIN + #define SERVO0_PIN P2_00 +#endif // // Limit Switches @@ -165,14 +167,24 @@ // // Heaters / Fans // -#define HEATER_0_PIN P2_07 +#ifndef HEATER_0_PIN + #define HEATER_0_PIN P2_07 +#endif #if HOTENDS == 1 - #define FAN1_PIN P2_04 + #ifndef FAN1_PIN + #define FAN1_PIN P2_04 + #endif #else - #define HEATER_1_PIN P2_04 + #ifndef HEATER_1_PIN + #define HEATER_1_PIN P2_04 + #endif +#endif +#ifndef FAN_PIN + #define FAN_PIN P2_03 +#endif +#ifndef HEATER_BED_PIN + #define HEATER_BED_PIN P2_05 #endif -#define FAN_PIN P2_03 -#define HEATER_BED_PIN P2_05 /** * _____ _____