This is an automated email from the ASF dual-hosted git repository.

pkarashchenko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git

commit 7de9b879a124b9ef96c45995d2113275565ef803
Author: Xiang Xiao <xiaoxi...@xiaomi.com>
AuthorDate: Sun Mar 20 00:10:06 2022 +0800

    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 <xiaoxi...@xiaomi.com>
---
 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 0e371f8..177e6a9 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 */

Reply via email to