From ee03aae6c65bc4e32a135155fd4721453469db77 Mon Sep 17 00:00:00 2001 From: Tester23 Date: Wed, 4 Dec 2024 22:31:40 +0100 Subject: [PATCH] Update drv_st7735.c --- src/driver/drv_st7735.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/driver/drv_st7735.c b/src/driver/drv_st7735.c index 41de19e68..2b1ea9772 100644 --- a/src/driver/drv_st7735.c +++ b/src/driver/drv_st7735.c @@ -32,7 +32,10 @@ as well as Adafruit raw 1.8" TFT display #include "../hal/hal_pins.h" #include "drv_st7735.h" +#ifdef PLATFORM_ESPIDF #include "driver/gpio.h" +#endif + static uint8_t tabcolor; static volatile uint32_t *dataport, *clkport, *csport, *rsport;