From 5d8d03da030488e1773e24acd9f595dd7ce0bcbd Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 8 May 2021 06:00:59 -0500 Subject: [PATCH] Update SKR 1.3 touch pins --- Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h index 557a4c4c65..625de05996 100644 --- a/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h +++ b/Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_3.h @@ -280,13 +280,6 @@ #define TFT_SCK_PIN EXP2_09_PIN #define TFT_MISO_PIN EXP2_10_PIN - #define TOUCH_INT_PIN EXP1_05_PIN - #define TOUCH_CS_PIN EXP1_06_PIN - - #define TOUCH_MOSI_PIN EXP2_05_PIN - #define TOUCH_SCK_PIN EXP2_09_PIN - #define TOUCH_MISO_PIN EXP2_10_PIN - #define BTN_EN2 EXP2_06_PIN #define BTN_EN1 EXP2_08_PIN #define BTN_ENC EXP1_09_PIN @@ -434,6 +427,14 @@ #endif // HAS_WIRED_LCD +#if NEED_TOUCH_PINS + #define TOUCH_CS_PIN EXP1_06_PIN + #define TOUCH_SCK_PIN EXP2_09_PIN + #define TOUCH_MOSI_PIN EXP2_05_PIN + #define TOUCH_MISO_PIN EXP2_10_PIN + #define TOUCH_INT_PIN EXP1_05_PIN +#endif + /** * Special pins * P1_30 (37) (NOT 5V tolerant)