indev: fix typo
This commit is contained in:
@@ -99,7 +99,7 @@ void lv_indev_read_task(lv_task_t * task)
|
||||
/*Save the last activity time*/
|
||||
if(indev_act->proc.state == LV_INDEV_STATE_PR) {
|
||||
indev_act->driver.disp->last_activity_time = lv_tick_get();
|
||||
} else if(indev_act->driver.type == LV_INDEV_TYPE_ENCODER && data->enc_diff) {
|
||||
} else if(indev_act->driver.type == LV_INDEV_TYPE_ENCODER && data.enc_diff) {
|
||||
indev_act->driver.disp->last_activity_time = lv_tick_get();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user