LVGL seems to have recently changed the calling convention for an input device driver's read callback. Previously the callback returned bool to indicate whether it should be called again; now the callback's return type is void, and it sets a flag in place of the old return value.
xpt2048_read has not been updated to reflect this change, breaking code that attempts to pass this function as the read callback (warning when compiled as C; error when compiled as C++).
LVGL seems to have recently changed the calling convention for an input device driver's read callback. Previously the callback returned
bool
to indicate whether it should be called again; now the callback's return type isvoid
, and it sets a flag in place of the old return value.xpt2048_read
has not been updated to reflect this change, breaking code that attempts to pass this function as the read callback (warning when compiled as C; error when compiled as C++).