diff options
Diffstat (limited to 'goodix_ts_proc.c')
-rw-r--r-- | goodix_ts_proc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/goodix_ts_proc.c b/goodix_ts_proc.c index d4f58d9..c60f3b2 100644 --- a/goodix_ts_proc.c +++ b/goodix_ts_proc.c @@ -44,7 +44,8 @@ #define SHORT_SIZE 100 #define LARGE_SIZE 4096 -#define HUGE_SIZE 100 * 1024 +#define MAX_FRAME_CNT 50 +#define HUGE_SIZE MAX_FRAME_CNT * 20 * 1024 static struct goodix_ts_core *cd; static char wbuf[SHORT_SIZE]; static char *rbuf; @@ -66,7 +67,6 @@ static uint32_t index; #define TEST_NG 0 #define MAX_LINE_LEN (1024 * 6) -#define MAX_FRAME_CNT 16 #define MAX_DRV_NUM 17 #define MAX_SEN_NUM 35 #define MAX_SHORT_NUM 15 |