Skip to content

Commit a1e1f73

Browse files
authored
fix: Corrected the inverted touch screen parameter configuration of lichuang_S3_dev, which caused touch offset. (#1209)
1 parent d2e99ba commit a1e1f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main/boards/lichuang-dev/lichuang_dev_board.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,8 @@ class LichuangDevBoard : public WifiBoard {
160160
{
161161
esp_lcd_touch_handle_t tp;
162162
esp_lcd_touch_config_t tp_cfg = {
163-
.x_max = DISPLAY_WIDTH,
164-
.y_max = DISPLAY_HEIGHT,
163+
.x_max = DISPLAY_HEIGHT,
164+
.y_max = DISPLAY_WIDTH,
165165
.rst_gpio_num = GPIO_NUM_NC, // Shared with LCD reset
166166
.int_gpio_num = GPIO_NUM_NC,
167167
.levels = {

0 commit comments

Comments
 (0)