mirror of
https://github.com/lvgl/lvgl.git
synced 2025-01-28 07:03:00 +08:00
feat(indev): in event-driven mode,needn't continue_reading
(#5363)
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com> Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
This commit is contained in:
parent
8d67e9c488
commit
1881ef22d2
@ -216,7 +216,7 @@ void lv_indev_read(lv_indev_t * indev_p)
|
||||
do {
|
||||
/*Read the data*/
|
||||
indev_read_core(indev_p, &data);
|
||||
continue_reading = data.continue_reading;
|
||||
continue_reading = indev_p->mode != LV_INDEV_MODE_EVENT && data.continue_reading;
|
||||
|
||||
/*The active object might be deleted even in the read function*/
|
||||
indev_proc_reset_query_handler(indev_p);
|
||||
|
Loading…
x
Reference in New Issue
Block a user