Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test fix warning and docs build error
  • Loading branch information
kisvegabor committed Oct 4, 2021
1 parent 18f61c5 commit d908f31
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
11 changes: 11 additions & 0 deletions examples/libs/freetype/lv_example_freetype_1.c
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/extra/libs/gif/lv_gif.c
Expand Up @@ -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);
Expand Down

0 comments on commit d908f31

Please sign in to comment.