fix(examples): fix font manager example build error in docs (#7085)
Signed-off-by: lhdjply <lhdjply@126.com>
This commit is contained in:
@@ -38,4 +38,13 @@ void lv_example_font_manager_1(void)
|
||||
lv_obj_center(label);
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
void lv_example_font_manager_1(void)
|
||||
{
|
||||
lv_obj_t * label = lv_label_create(lv_screen_active());
|
||||
lv_label_set_text(label, "FreeType or font_manager is not enabled");
|
||||
lv_obj_center(label);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user