lvgl / lv_drivers

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

fix(build): Update xpt2046_read to match signature required by... #290

Closed johnauld closed 10 months ago

johnauld commented 10 months ago

...lv_indev_drv_t's read callback.

The indev read callback previously returned bool to indicate whether it should be called again. Per the changelog, this was modified to return this indicator in the lv_indev_data_t struct's continue_reading member. This change updates the xpt2046_read function to be compatible with this new calling convention.

BREAKING CHANGE

Fixes #289.

kisvegabor commented 10 months ago

The drivers in the repo wasn't updated for a while. In LVGL v9 we will add drivers directly into LVGL so they will get more maintenance in the future.

Anyway, and update here is appreciated, so thank you!