From 0f6b2ff21aca3289521ab40b7e60a71cdb09e96b Mon Sep 17 00:00:00 2001 From: Liu Zhongwei Date: Mon, 29 Apr 2024 12:05:09 +0800 Subject: [PATCH] fix some typo Closes https://github.com/esp-arduino-libs/ESP32_Display_Panel/issues/16 Closes https://github.com/esp-arduino-libs/ESP32_Display_Panel/issues/17 --- library.properties | 2 +- src/ESP_Panel.cpp | 2 +- src/ESP_Panel_Conf_Internal.h | 2 +- src/backlight/ESP_PanelBacklight.cpp | 2 +- src/bus/I2C.cpp | 2 +- src/bus/QSPI.cpp | 2 +- src/bus/RGB.cpp | 2 +- src/bus/SPI.cpp | 2 +- src/host/ESP_PanelHost.cpp | 2 +- src/lcd/GC9503.cpp | 2 +- src/lcd/GC9A01.cpp | 2 +- src/lcd/GC9B71.cpp | 2 +- src/lcd/ILI9341.cpp | 2 +- src/lcd/NV3022B.cpp | 2 +- src/lcd/SH8601.cpp | 2 +- src/lcd/SPD2010.cpp | 2 +- src/lcd/ST7262.cpp | 2 +- src/lcd/ST7701.cpp | 2 +- src/lcd/ST7789.cpp | 2 +- src/lcd/ST77916.cpp | 2 +- src/lcd/ST77922.cpp | 2 +- src/lcd/ST7796.cpp | 2 +- src/touch/CST816S.cpp | 2 +- src/touch/FT5x06.cpp | 2 +- src/touch/GT1151.cpp | 2 +- src/touch/GT911.cpp | 2 +- src/touch/ST7123.cpp | 2 +- src/touch/TT21100.cpp | 2 +- 28 files changed, 28 insertions(+), 28 deletions(-) diff --git a/library.properties b/library.properties index 09ac3f9d..cd9aa552 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=ESP32_Display_Panel -version=0.1.0 +version=0.1.1 author=espressif maintainer=espressif sentence=ESP32_Display_Panel is an Arduino library designed for ESP SoCs to drive display panels and facilitate rapid GUI development. diff --git a/src/ESP_Panel.cpp b/src/ESP_Panel.cpp index 9044e6f3..b4e2e50f 100644 --- a/src/ESP_Panel.cpp +++ b/src/ESP_Panel.cpp @@ -81,7 +81,7 @@ ESP_Panel::~ESP_Panel() end: ESP_PANEL_ENABLE_TAG_DEBUG_LOG(); - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } void ESP_Panel::configExpander(ESP_IOExpander *expander) diff --git a/src/ESP_Panel_Conf_Internal.h b/src/ESP_Panel_Conf_Internal.h index f4261fe7..25fac340 100644 --- a/src/ESP_Panel_Conf_Internal.h +++ b/src/ESP_Panel_Conf_Internal.h @@ -79,7 +79,7 @@ #include "../../ESP_Panel_Board_Supported.h" #endif - #ifdef ESP_PANEL_CUSTOM_BOARD_PATH /* If there is a path defined for "ESP_Panel_Board_Supported.h" use it */ + #ifdef ESP_PANEL_CUSTOM_BOARD_PATH /* If there is a path defined for "ESP_Panel_Board_Custom.h" use it */ #define __TO_STR_AUX(x) #x #define __TO_STR(x) __TO_STR_AUX(x) #include __TO_STR(ESP_PANEL_CUSTOM_BOARD_PATH) diff --git a/src/backlight/ESP_PanelBacklight.cpp b/src/backlight/ESP_PanelBacklight.cpp index e699a413..3d832926 100644 --- a/src/backlight/ESP_PanelBacklight.cpp +++ b/src/backlight/ESP_PanelBacklight.cpp @@ -35,7 +35,7 @@ ESP_PanelBacklight::~ESP_PanelBacklight() ESP_LOGE(TAG, "Delete device failed"); } - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelBacklight::begin(void) diff --git a/src/bus/I2C.cpp b/src/bus/I2C.cpp index 99d5dc26..2eb2262a 100644 --- a/src/bus/I2C.cpp +++ b/src/bus/I2C.cpp @@ -52,7 +52,7 @@ ESP_PanelBus_I2C::~ESP_PanelBus_I2C() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } void ESP_PanelBus_I2C::configI2cPullupEnable(bool sda_pullup_en, bool scl_pullup_en) diff --git a/src/bus/QSPI.cpp b/src/bus/QSPI.cpp index 3eb75416..fbdf139d 100644 --- a/src/bus/QSPI.cpp +++ b/src/bus/QSPI.cpp @@ -60,7 +60,7 @@ ESP_PanelBus_QSPI::~ESP_PanelBus_QSPI() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } void ESP_PanelBus_QSPI::configQspiMode(uint8_t mode) diff --git a/src/bus/RGB.cpp b/src/bus/RGB.cpp index f5d314ac..7c42671f 100644 --- a/src/bus/RGB.cpp +++ b/src/bus/RGB.cpp @@ -100,7 +100,7 @@ ESP_PanelBus_RGB::~ESP_PanelBus_RGB() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } void ESP_PanelBus_RGB::configRgbTimingFreqHz(uint32_t hz) diff --git a/src/bus/SPI.cpp b/src/bus/SPI.cpp index 1b2367ad..68fe4ec5 100644 --- a/src/bus/SPI.cpp +++ b/src/bus/SPI.cpp @@ -59,7 +59,7 @@ ESP_PanelBus_SPI::~ESP_PanelBus_SPI() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } void ESP_PanelBus_SPI::configSpiMode(uint8_t mode) diff --git a/src/host/ESP_PanelHost.cpp b/src/host/ESP_PanelHost.cpp index 6041c9aa..5d9ef479 100644 --- a/src/host/ESP_PanelHost.cpp +++ b/src/host/ESP_PanelHost.cpp @@ -20,7 +20,7 @@ ESP_PanelHost::~ESP_PanelHost() { ESP_PANEL_ENABLE_TAG_DEBUG_LOG(); - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelHost::addHostI2C(const i2c_config_t &host_config, i2c_port_t host_id) diff --git a/src/lcd/GC9503.cpp b/src/lcd/GC9503.cpp index d17b95ec..22141908 100644 --- a/src/lcd/GC9503.cpp +++ b/src/lcd/GC9503.cpp @@ -35,7 +35,7 @@ ESP_PanelLcd_GC9503::~ESP_PanelLcd_GC9503() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_GC9503::init(void) diff --git a/src/lcd/GC9A01.cpp b/src/lcd/GC9A01.cpp index ffe6c3cc..34c938b3 100644 --- a/src/lcd/GC9A01.cpp +++ b/src/lcd/GC9A01.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_GC9A01::~ESP_PanelLcd_GC9A01() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_GC9A01::init(void) diff --git a/src/lcd/GC9B71.cpp b/src/lcd/GC9B71.cpp index 6e207545..1cdfdf63 100644 --- a/src/lcd/GC9B71.cpp +++ b/src/lcd/GC9B71.cpp @@ -36,7 +36,7 @@ ESP_PanelLcd_GC9B71::~ESP_PanelLcd_GC9B71() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_GC9B71::init(void) diff --git a/src/lcd/ILI9341.cpp b/src/lcd/ILI9341.cpp index f44b19cc..c144581a 100644 --- a/src/lcd/ILI9341.cpp +++ b/src/lcd/ILI9341.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_ILI9341::~ESP_PanelLcd_ILI9341() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ILI9341::init(void) diff --git a/src/lcd/NV3022B.cpp b/src/lcd/NV3022B.cpp index 3fa1fd93..aa1d9741 100644 --- a/src/lcd/NV3022B.cpp +++ b/src/lcd/NV3022B.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_NV3022B::~ESP_PanelLcd_NV3022B() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_NV3022B::init(void) diff --git a/src/lcd/SH8601.cpp b/src/lcd/SH8601.cpp index 9cc24d87..7329fc1a 100644 --- a/src/lcd/SH8601.cpp +++ b/src/lcd/SH8601.cpp @@ -36,7 +36,7 @@ ESP_PanelLcd_SH8601::~ESP_PanelLcd_SH8601() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_SH8601::init(void) diff --git a/src/lcd/SPD2010.cpp b/src/lcd/SPD2010.cpp index c1765f15..288dd006 100644 --- a/src/lcd/SPD2010.cpp +++ b/src/lcd/SPD2010.cpp @@ -34,7 +34,7 @@ ESP_PanelLcd_SPD2010::~ESP_PanelLcd_SPD2010() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_SPD2010::init(void) diff --git a/src/lcd/ST7262.cpp b/src/lcd/ST7262.cpp index 1759b6cc..c0b7e071 100644 --- a/src/lcd/ST7262.cpp +++ b/src/lcd/ST7262.cpp @@ -45,7 +45,7 @@ ESP_PanelLcd_ST7262::~ESP_PanelLcd_ST7262() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST7262::init(void) diff --git a/src/lcd/ST7701.cpp b/src/lcd/ST7701.cpp index 0df854b6..c01e43c1 100644 --- a/src/lcd/ST7701.cpp +++ b/src/lcd/ST7701.cpp @@ -35,7 +35,7 @@ ESP_PanelLcd_ST7701::~ESP_PanelLcd_ST7701() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST7701::init(void) diff --git a/src/lcd/ST7789.cpp b/src/lcd/ST7789.cpp index 0fc447a1..a28afecb 100644 --- a/src/lcd/ST7789.cpp +++ b/src/lcd/ST7789.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_ST7789::~ESP_PanelLcd_ST7789() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST7789::init(void) diff --git a/src/lcd/ST77916.cpp b/src/lcd/ST77916.cpp index 2f7d6871..b2b88f72 100644 --- a/src/lcd/ST77916.cpp +++ b/src/lcd/ST77916.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_ST77916::~ESP_PanelLcd_ST77916() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST77916::init(void) diff --git a/src/lcd/ST77922.cpp b/src/lcd/ST77922.cpp index d8dd3f2f..e775ac62 100644 --- a/src/lcd/ST77922.cpp +++ b/src/lcd/ST77922.cpp @@ -34,7 +34,7 @@ ESP_PanelLcd_ST77922::~ESP_PanelLcd_ST77922() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST77922::init(void) diff --git a/src/lcd/ST7796.cpp b/src/lcd/ST7796.cpp index 8089775b..abff96f6 100644 --- a/src/lcd/ST7796.cpp +++ b/src/lcd/ST7796.cpp @@ -32,7 +32,7 @@ ESP_PanelLcd_ST7796::~ESP_PanelLcd_ST7796() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelLcd_ST7796::init(void) diff --git a/src/touch/CST816S.cpp b/src/touch/CST816S.cpp index 5ac23978..eb1115ef 100644 --- a/src/touch/CST816S.cpp +++ b/src/touch/CST816S.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_CST816S::~ESP_PanelTouch_CST816S() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_CST816S::begin(void) diff --git a/src/touch/FT5x06.cpp b/src/touch/FT5x06.cpp index b3a73aee..08e5431d 100644 --- a/src/touch/FT5x06.cpp +++ b/src/touch/FT5x06.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_FT5x06::~ESP_PanelTouch_FT5x06() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_FT5x06::begin(void) diff --git a/src/touch/GT1151.cpp b/src/touch/GT1151.cpp index eaa33027..09134db0 100644 --- a/src/touch/GT1151.cpp +++ b/src/touch/GT1151.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_GT1151::~ESP_PanelTouch_GT1151() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_GT1151::begin(void) diff --git a/src/touch/GT911.cpp b/src/touch/GT911.cpp index 7af0c3b4..10813c8b 100644 --- a/src/touch/GT911.cpp +++ b/src/touch/GT911.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_GT911::~ESP_PanelTouch_GT911() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_GT911::begin(void) diff --git a/src/touch/ST7123.cpp b/src/touch/ST7123.cpp index 8fc54fe1..f57df649 100644 --- a/src/touch/ST7123.cpp +++ b/src/touch/ST7123.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_ST7123::~ESP_PanelTouch_ST7123() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_ST7123::begin(void) diff --git a/src/touch/TT21100.cpp b/src/touch/TT21100.cpp index f52b40fa..78dc8582 100644 --- a/src/touch/TT21100.cpp +++ b/src/touch/TT21100.cpp @@ -33,7 +33,7 @@ ESP_PanelTouch_TT21100::~ESP_PanelTouch_TT21100() } end: - ESP_LOGD(TAG, "Destory"); + ESP_LOGD(TAG, "Destroyed"); } bool ESP_PanelTouch_TT21100::begin(void)