mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
tests/pkg_lvgl*: adapt to new behavior
This commit is contained in:
parent
41a185cb92
commit
ef6d377197
@ -121,10 +121,10 @@ int main(void)
|
|||||||
/* Enable backlight */
|
/* Enable backlight */
|
||||||
disp_dev_backlight_on();
|
disp_dev_backlight_on();
|
||||||
|
|
||||||
lvgl_start();
|
|
||||||
|
|
||||||
/* Create the system monitor widget */
|
/* Create the system monitor widget */
|
||||||
sysmon_create();
|
sysmon_create();
|
||||||
|
|
||||||
|
lvgl_run();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -57,7 +57,7 @@ int main(void)
|
|||||||
lv_obj_t * label = lv_label_create(btn, NULL);
|
lv_obj_t * label = lv_label_create(btn, NULL);
|
||||||
lv_label_set_text(label, "Click me");
|
lv_label_set_text(label, "Click me");
|
||||||
|
|
||||||
lvgl_start();
|
lvgl_run();
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user