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

Wrong argument in GC9A01_flush function #202

Open Barto22 opened 2 years ago

Barto22 commented 2 years ago

In function GC9A01_flush first argument is wrong because it's struct _disp_drv_t disp_drv and compiler gives error: 'struct _disp_drv_t' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]. This type of struct doesn't even exists. It should be like in other drivers lv_disp_drv_t disp_drv and then it compiles without any issues.

File GC9A01.h line 66 and GC9A01.c line 565.

kisvegabor commented 2 years ago

Hi,

Probably this driver is not updated from v7 to v8. Could you send a PR to fix it?

Barto22 commented 2 years ago

Ok I will test the driver and then send PR.

stale[bot] commented 1 year ago

This issue or pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.