Skip to content

Commit

Permalink
feat(indev): in event-driven mode,needn't continue_reading (lvgl#5363)
Browse files Browse the repository at this point in the history
Signed-off-by: YanXiaowei <yanxiaowei@xiaomi.com>
Co-authored-by: YanXiaowei <yanxiaowei@xiaomi.com>
  • Loading branch information
bjsylvia and sylvia-soft authored Jan 18, 2024
1 parent 8d67e9c commit 1881ef2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/indev/lv_indev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1881ef2

Please sign in to comment.