I’m using -
lvgl 9.3.0
Arduino IDE
ESP32-S3
I’m trying to use the lv_display_set_flush_wait_cb() callback function, but can’t get the callback’s return type right.
According to the docs it should be -
lv_display_flush_wait_cb_t wait_cb()
but the only example I can find anywhere is -
bool wait_cb(void* user_ctx) {
lv_disp_t* disp_driver = (lv_disp_t*)user_ctx;
lv_disp_flush_ready(disp_driver);
return false;
}