forked from xiaozhi/xiaozhi-esp32
fix: Corrected the inverted touch screen parameter configuration of lichuang_S3_dev, which caused touch offset. (#1209)
This commit is contained in:
@@ -160,8 +160,8 @@ private:
|
|||||||
{
|
{
|
||||||
esp_lcd_touch_handle_t tp;
|
esp_lcd_touch_handle_t tp;
|
||||||
esp_lcd_touch_config_t tp_cfg = {
|
esp_lcd_touch_config_t tp_cfg = {
|
||||||
.x_max = DISPLAY_WIDTH,
|
.x_max = DISPLAY_HEIGHT,
|
||||||
.y_max = DISPLAY_HEIGHT,
|
.y_max = DISPLAY_WIDTH,
|
||||||
.rst_gpio_num = GPIO_NUM_NC, // Shared with LCD reset
|
.rst_gpio_num = GPIO_NUM_NC, // Shared with LCD reset
|
||||||
.int_gpio_num = GPIO_NUM_NC,
|
.int_gpio_num = GPIO_NUM_NC,
|
||||||
.levels = {
|
.levels = {
|
||||||
|
|||||||
Reference in New Issue
Block a user