1
0
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:
bjsylvia 2024-01-18 17:35:08 +08:00 committed by GitHub
parent 8d67e9c488
commit 1881ef22d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);