lvgl / lv_demos

Examples, tutorials and applications for the LVGL embedded GUI library

Home Page:https://lvgl.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

please fix lv_demo_music_main.c

ataweg opened this issue · comments

Build with current version of lvgl breaks build of lv_demo_music. Here is the fix:
In lv_demo_music_main.c from line 592 replace

   else if(code == LV_EVENT_COVER_CHECK) {
        lv_draw_res_t * res = lv_event_get_param(e);
        *res = LV_COVER_RES_NOT_COVER;

with

    else if(code == LV_EVENT_COVER_CHECK) {
        lv_cover_check_info_t * info = lv_event_get_param(e);
        info->res = LV_COVER_RES_NOT_COVER;

Doing so all will be fine.

Thanks for the report, I've fixed it.