lv_drivers icon indicating copy to clipboard operation
lv_drivers copied to clipboard

Wrong argument in GC9A01_flush function

Open Barto22 opened this issue 2 years ago • 3 comments

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.

Barto22 avatar Apr 10 '22 15:04 Barto22

Hi,

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

kisvegabor avatar Apr 11 '22 13:04 kisvegabor

Ok I will test the driver and then send PR.

Barto22 avatar Apr 11 '22 19:04 Barto22

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.

stale[bot] avatar Apr 20 '23 03:04 stale[bot]