docs(rlottie) fix build error
This commit is contained in:
@@ -11,4 +11,15 @@ void lv_example_rlottie_1(void)
|
||||
lv_obj_center(lottie);
|
||||
}
|
||||
|
||||
#else
|
||||
void lv_example_rlottie_1(void)
|
||||
{
|
||||
/*TODO
|
||||
*fallback for online examples*/
|
||||
|
||||
lv_obj_t * label = lv_label_create(lv_scr_act());
|
||||
lv_label_set_text(label, "Rlottie is not installed");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@@ -12,4 +12,15 @@ void lv_example_rlottie_2(void)
|
||||
lv_obj_center(lottie);
|
||||
}
|
||||
|
||||
#else
|
||||
void lv_example_rlottie_2(void)
|
||||
{
|
||||
/*TODO
|
||||
*fallback for online examples*/
|
||||
|
||||
lv_obj_t * label = lv_label_create(lv_scr_act());
|
||||
lv_label_set_text(label, "Rlottie is not installed");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user