From 37b3e488a4e77dd383bc12f89e619fa32dc123f0 Mon Sep 17 00:00:00 2001 From: fvanroie Date: Sun, 23 Jul 2023 21:36:17 +0200 Subject: [PATCH] Update defined(CONFIG_IDF_TARGET_ESP32S3) --- lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.cpp | 2 +- lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.h | 2 +- src/drv/tft/Arduino_PCA9535SWSPI.cpp | 2 +- src/drv/tft/Arduino_PCA9535SWSPI.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.cpp b/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.cpp index 9f500edc2..0b997a9e7 100644 --- a/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.cpp +++ b/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.cpp @@ -1,6 +1,6 @@ #include "Arduino_RGB_Display_mod.h" -#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) +#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) #include "Arduino_GFX.h" #include "Arduino_DataBus.h" diff --git a/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.h b/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.h index f0cea72f1..982da439f 100644 --- a/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.h +++ b/lib/Arduino_RPi_DPI_RGBPanel_mod/Arduino_RGB_Display_mod.h @@ -3,7 +3,7 @@ #include "Arduino_DataBus.h" #endif -#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) +#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) #ifndef _ARDUINO_RGB_DISPLAY_MOD_H_ #define _ARDUINO_RGB_DISPLAY_MOD_H_ diff --git a/src/drv/tft/Arduino_PCA9535SWSPI.cpp b/src/drv/tft/Arduino_PCA9535SWSPI.cpp index 226c43f64..b09e55c2f 100644 --- a/src/drv/tft/Arduino_PCA9535SWSPI.cpp +++ b/src/drv/tft/Arduino_PCA9535SWSPI.cpp @@ -1,4 +1,4 @@ -#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) +#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) #include "Arduino_PCA9535SWSPI.h" #include "driver/gpio.h" diff --git a/src/drv/tft/Arduino_PCA9535SWSPI.h b/src/drv/tft/Arduino_PCA9535SWSPI.h index 8e3ca06c6..a963240a9 100644 --- a/src/drv/tft/Arduino_PCA9535SWSPI.h +++ b/src/drv/tft/Arduino_PCA9535SWSPI.h @@ -1,7 +1,7 @@ #ifndef _Arduino_PCA9535SWSPI_H_ #define _Arduino_PCA9535SWSPI_H_ -#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) +#if defined(ESP32) && defined(CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) #include