feat: 实现设置页面及其功能
This commit is contained in:
+3
-3
@@ -86,9 +86,9 @@ esp_err_t touch_init(lv_display_t *display)
|
||||
.interrupt = 0,
|
||||
},
|
||||
.flags = {
|
||||
.swap_xy = 0,
|
||||
.mirror_x = 0,
|
||||
.mirror_y = 0,
|
||||
.swap_xy = BOARD_TOUCH_SWAP_XY,
|
||||
.mirror_x = BOARD_TOUCH_MIRROR_X,
|
||||
.mirror_y = BOARD_TOUCH_MIRROR_Y,
|
||||
},
|
||||
.interrupt_callback = touch_isr_cb,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user