From 76ed15f22d810af6a1eaf76fef18ff18fa2c78f4 Mon Sep 17 00:00:00 2001 From: tobozo Date: Wed, 5 Sep 2018 11:34:38 +0200 Subject: [PATCH] Fix for TFT_eSPI and Adafruit libs see #1800 --- variants/d32_pro/pins_arduino.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/variants/d32_pro/pins_arduino.h b/variants/d32_pro/pins_arduino.h index 5fd7c3e9d79..25633130c43 100644 --- a/variants/d32_pro/pins_arduino.h +++ b/variants/d32_pro/pins_arduino.h @@ -9,11 +9,11 @@ static const uint8_t LED_BUILTIN = 5; static const uint8_t _VBAT = 35; // battery voltage -static const uint8_t TF_CS = 4; // TF (Micro SD Card) CS pin -static const uint8_t TS_CS = 12; // Touch Screen CS pin -static const uint8_t TFT_CS = 14; // TFT CS pin -static const uint8_t TFT_LED = 32; // TFT backlight control pin -static const uint8_t TFT_RST = 33; // TFT reset pin -static const uint8_t TFT_DC = 27; // TFT DC pin +#define TF_CS 4 // TF (Micro SD Card) CS pin +#define TS_CS 12 // Touch Screen CS pin +#define TFT_CS 14 // TFT CS pin +#define TFT_LED 32 // TFT backlight control pin +#define TFT_RST 33 // TFT reset pin +#define TFT_DC 27 // TFT DC pin #endif /* Pins_Arduino_h */