lvgl / lv_drivers

TFT and touch pad drivers for LVGL embedded GUI library
https://docs.lvgl.io/master/porting/index.html
MIT License
306 stars 314 forks source link

Refactor(evdev) removed duplicate code from init function #193

Closed ckielstra closed 2 years ago

ckielstra commented 2 years ago

Two almost identical functions were combined.

Small side effect is a bug fix for a perhaps never occurring use case; when evdev_set_file was being called without evdev_init, then this was closing a random device.

kisvegabor commented 2 years ago

Looks good, merging.

Thanks!