diff --git a/tests/pkg_lvgl/README.md b/tests/pkg_lvgl/README.md index 76b5f9c4ff..744c997347 100644 --- a/tests/pkg_lvgl/README.md +++ b/tests/pkg_lvgl/README.md @@ -3,7 +3,7 @@ LittlevGL sample application This application shows a basic usage of LittlevGL with RIOT. It's simply an adaption of one of the upstream examples: the -[sysmon example](https://github.com/littlevgl/lv_examples/tree/master/lv_apps/sysmon). +[sysmon example](https://github.com/lvgl/lv_apps/tree/master/src/lv_sysmon). ### Flashing the application diff --git a/tests/pkg_lvgl/main.c b/tests/pkg_lvgl/main.c index 134f8e8815..af7516ab7c 100644 --- a/tests/pkg_lvgl/main.c +++ b/tests/pkg_lvgl/main.c @@ -90,8 +90,6 @@ static void sysmon_task(lv_task_t *param) void sysmon_create(void) { - refr_task = lv_task_create(sysmon_task, REFR_TIME, LV_TASK_PRIO_LOW, NULL); - lv_coord_t hres = lv_disp_get_hor_res(NULL); lv_coord_t vres = lv_disp_get_ver_res(NULL); @@ -123,6 +121,7 @@ void sysmon_create(void) lv_label_set_recolor(info_label, true); /* Refresh the chart and label manually at first */ + refr_task = lv_task_create(sysmon_task, REFR_TIME, LV_TASK_PRIO_LOW, NULL); sysmon_task(NULL); }