mirror of
https://github.com/lvgl/lvgl.git
synced 2024-11-24 02:03:53 +08:00
test fix warning and docs build error
This commit is contained in:
parent
18f61c5f77
commit
d908f31f8f
@ -26,5 +26,16 @@ void lv_example_freetype_1(void)
|
||||
lv_label_set_text(label, "Hello world\nI'm a font created with FreeType");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
#else
|
||||
|
||||
void lv_example_freetype_1(void)
|
||||
{
|
||||
/*TODO
|
||||
*fallback for online examples*/
|
||||
|
||||
lv_obj_t * label = lv_label_create(lv_scr_act());
|
||||
lv_label_set_text(label, "FreeType is not installed");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
@ -145,7 +145,7 @@ static void next_frame_task_cb(lv_timer_t * t)
|
||||
}
|
||||
}
|
||||
|
||||
gd_render_frame(gifobj->gif, gifobj->imgdsc.data);
|
||||
gd_render_frame(gifobj->gif, (uint8_t *)gifobj->imgdsc.data);
|
||||
|
||||
lv_img_cache_invalidate_src(lv_img_get_src(obj));
|
||||
lv_obj_invalidate(obj);
|
||||
|
Loading…
Reference in New Issue
Block a user