diff --git a/Devices/m5stack-cores3/CMakeLists.txt b/Devices/m5stack-cores3/CMakeLists.txt index cacfe7fd..b2553f94 100644 --- a/Devices/m5stack-cores3/CMakeLists.txt +++ b/Devices/m5stack-cores3/CMakeLists.txt @@ -3,5 +3,5 @@ file(GLOB_RECURSE SOURCE_FILES Source/*.c*) idf_component_register( SRCS ${SOURCE_FILES} INCLUDE_DIRS "Source" - REQUIRES Tactility esp_lvgl_port ILI934x FT6x36 AXP2101 AW9523 driver vfs fatfs + REQUIRES Tactility esp_lvgl_port ILI934x FT5x06 AXP2101 AW9523 driver vfs fatfs ) diff --git a/Devices/m5stack-cores3/Source/devices/Display.cpp b/Devices/m5stack-cores3/Source/devices/Display.cpp index 1da65d85..0c03dea8 100644 --- a/Devices/m5stack-cores3/Source/devices/Display.cpp +++ b/Devices/m5stack-cores3/Source/devices/Display.cpp @@ -1,7 +1,7 @@ #include "Display.h" #include -#include +#include #include #include #include @@ -17,16 +17,13 @@ static void setBacklightDuty(uint8_t backlightDuty) { } static std::shared_ptr createTouch() { - auto configuration = std::make_unique( + auto configuration = std::make_unique( I2C_NUM_0, 319,//LCD_HORIZONTAL_RESOLUTION, - 239,//LCD_VERTICAL_RESOLUTION, - false, - false, - false + 239//LCD_VERTICAL_RESOLUTION, ); - return std::make_shared(std::move(configuration)); + return std::make_shared(std::move(configuration)); } std::shared_ptr createDisplay() {