fit touch postion for lvgl

This commit is contained in:
wuzheng
2022-11-21 16:46:46 +08:00
parent ebc61431bd
commit 987fd6c798
5 changed files with 11 additions and 9 deletions
@@ -65,8 +65,8 @@ typedef enum _touch_event
#define GTP_REG_VERSION 0x8140
#define LCD_SIZE 320
#define TOUCH_WIDTH 1024
#define TOUCH_HEIGHT 664
#define TOUCH_WIDTH 1080
#define TOUCH_HEIGHT 720
#define CFG_GROUP_LEN(p_cfg_grp) (sizeof(p_cfg_grp) / sizeof(p_cfg_grp[0]))