When compiling the linux example for raspberry pi4 I get an compiler error that the function evdev_read is returning a bool instead of a void.
I checked the lv_hal_indev.h and here it is defined as a void. However in v7.11 of lvlg this was defined as a bool. This is change an error because the device driver endev.h defines the function evdev_read as a bool
Raspberry py 4
Compile lv_port_linux_frame_buffer example inclusive touch support
Check difference between version 7 and 8
Add the relevant code snippets here.
The code block(s) should be between
/*You code here*/ // Initialize and register a pointer device driver lv_indev_drv_t indev_drv; lv_indev_drv_init(&indev_drv); indev_drv.type = LV_INDEV_TYPE_POINTER; indev_drv.read_cb = evdev_read; // defined in lv_drivers/indev/evdev.h lv_indev_drv_register(&indev_drv); evdev.h /** * Get the current position and state of the evdev * @param data store the evdev data here * @return false: because the points are not buffered, so no more data to be read */ bool evdev_read(lv_indev_drv_t * drv, lv_indev_data_t * data); ## Screenshot and/or video If possible, add screenshots and/or videos about the current state.