diff --git a/src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.cpp b/src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.cpp index cba3e6486..29153b264 100644 --- a/src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.cpp +++ b/src/drv/tft/Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.cpp @@ -1,9 +1,9 @@ -#include "Arduino_PCA9535SWSPI.h" +#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) + +#include "Arduino_PCA9535SWSPI/Arduino_PCA9535SWSPI.h" #include "driver/gpio.h" #include "hasplib.h" -#if defined(ESP32) && (CONFIG_IDF_TARGET_ESP32S3) && defined(HASP_USE_ARDUINOGFX) - Arduino_PCA9535SWSPI::Arduino_PCA9535SWSPI(int8_t sda, int8_t scl, int8_t pwd, int8_t cs, int8_t sck, int8_t mosi, TwoWire *wire) : _sda(sda), _scl(scl), _pwd(pwd), _cs(cs), _sck(sck), _mosi(mosi), _wire(wire) { diff --git a/user_setups/esp32s3/sensecap-indicator.ini b/user_setups/esp32s3/sensecap-indicator.ini index a2a5b03dd..ef64e18dd 100644 --- a/user_setups/esp32s3/sensecap-indicator.ini +++ b/user_setups/esp32s3/sensecap-indicator.ini @@ -85,7 +85,7 @@ lib_deps = ${arduino_esp32s3_v2.lib_deps} ${arduinogfx.lib_deps} ; ${ft6336.lib_deps} - git+https://github.com/RobTillaart/TCA9555.git + ; git+https://github.com/RobTillaart/TCA9555.git [env:sensecap-indicator-d1_8MB]