From b20b1b7bfcbeb83b99246489a23696a019ceb4e2 Mon Sep 17 00:00:00 2001 From: Wendly Li Date: Thu, 24 Feb 2022 04:14:46 +0000 Subject: Increase max frame to 50 Bug: 214118804 Test: Check APIs works properly with 50 frames Change-Id: I5601eeeb20bb0ff70a072c201413bc4d5142687c Signed-off-by: Wendly Li --- goodix_ts_proc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'goodix_ts_proc.c') 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 -- cgit v1.2.3