chore: fix build error
This commit is contained in:
@@ -5,7 +5,7 @@ void lv_example_image_1(void)
|
||||
{
|
||||
LV_IMAGE_DECLARE(img_cogwheel_argb);
|
||||
lv_obj_t * img1 = lv_image_create(lv_screen_active());
|
||||
lv_image_set_src(img1, "A:lvgl/demos/widgets/assets/avatar.png");
|
||||
lv_image_set_src(img1, &img_cogwheel_argb);
|
||||
lv_obj_align(img1, LV_ALIGN_CENTER, 0, 0);
|
||||
lv_image_set_scale_x(img1, 512);
|
||||
lv_image_set_scale_y(img1, 128);
|
||||
|
||||
Reference in New Issue
Block a user