1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-28 07:03:00 +08:00

Remove unused code

Co-Authored-By: AloyseTech <AloyseTech@users.noreply.github.com>
This commit is contained in:
Gabor Kiss-Vamosi 2018-11-06 16:42:30 +01:00 committed by GitHub
parent 77162e7784
commit 7c76a46cbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -468,7 +468,7 @@ static void indev_encoder_proc(lv_indev_t * i, lv_indev_data_t * data)
}
/*If not editable then just send a long press signal*/
else {
if(focused) // && (i->group->obj_ll.head != i->group->obj_ll.tail)
if(focused)
focused->signal_func(focused, LV_SIGNAL_LONG_PRESS, indev_act);
}
i->proc.long_pr_sent = 1;