From 968c84fd0a290a7a7ed0ebb070c70f07eb9ca25e Mon Sep 17 00:00:00 2001 From: Bodmer Date: Fri, 10 Nov 2023 01:10:51 +0000 Subject: [PATCH] Support latest board package Latest board package does not expose low level GPIO driver. Call up header directly. --- Processors/TFT_eSPI_ESP32.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Processors/TFT_eSPI_ESP32.h b/Processors/TFT_eSPI_ESP32.h index 87cf667..7385dd5 100644 --- a/Processors/TFT_eSPI_ESP32.h +++ b/Processors/TFT_eSPI_ESP32.h @@ -11,6 +11,7 @@ // Include processor specific header #include "soc/spi_reg.h" #include "driver/spi_master.h" +#include "hal/gpio_ll.h" #if !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32) #define CONFIG_IDF_TARGET_ESP32