From 7de9b879a124b9ef96c45995d2113275565ef803 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sun, 20 Mar 2022 00:10:06 +0800 Subject: [PATCH] input/touchscreen: Change the type of touch_upperhalf_s::nums from uint32_t to uint8_t to align with the type of touch_register Signed-off-by: Xiang Xiao --- drivers/input/touchscreen_upper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/touchscreen_upper.c b/drivers/input/touchscreen_upper.c index 0e371f85c2a..177e6a91606 100644 --- a/drivers/input/touchscreen_upper.c +++ b/drivers/input/touchscreen_upper.c @@ -56,7 +56,7 @@ struct touch_openpriv_s struct touch_upperhalf_s { - uint32_t nums; /* Number of touch point structure */ + uint8_t nums; /* Number of touch point structure */ sem_t exclsem; /* Manages exclusive access to this structure */ struct list_node head; /* Opened file buffer chain header node */ FAR struct touch_lowerhalf_s *lower; /* A pointer of lower half instance */