From a1e1f73886a7a240c3a47c827cb7bf6791b7da1e Mon Sep 17 00:00:00 2001 From: ZhouShaoYuan Date: Wed, 17 Sep 2025 01:18:22 +0800 Subject: [PATCH] fix: Corrected the inverted touch screen parameter configuration of lichuang_S3_dev, which caused touch offset. (#1209) --- main/boards/lichuang-dev/lichuang_dev_board.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/boards/lichuang-dev/lichuang_dev_board.cc b/main/boards/lichuang-dev/lichuang_dev_board.cc index adfb4172..f0058e16 100644 --- a/main/boards/lichuang-dev/lichuang_dev_board.cc +++ b/main/boards/lichuang-dev/lichuang_dev_board.cc @@ -160,8 +160,8 @@ private: { esp_lcd_touch_handle_t tp; esp_lcd_touch_config_t tp_cfg = { - .x_max = DISPLAY_WIDTH, - .y_max = DISPLAY_HEIGHT, + .x_max = DISPLAY_HEIGHT, + .y_max = DISPLAY_WIDTH, .rst_gpio_num = GPIO_NUM_NC, // Shared with LCD reset .int_gpio_num = GPIO_NUM_NC, .levels = {