diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/arduino/LVGL_Arduino.ino | 2 | ||||
-rw-r--r-- | examples/widgets/arc/lv_example_arc_2.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/arduino/LVGL_Arduino.ino b/examples/arduino/LVGL_Arduino.ino index 7714d13fd..911ce7633 100644 --- a/examples/arduino/LVGL_Arduino.ino +++ b/examples/arduino/LVGL_Arduino.ino @@ -107,6 +107,6 @@ void setup() void loop() { - lv_task_handler(); /* let the GUI do its work */ + lv_timer_handler(); /* let the GUI do its work */ delay(5); } diff --git a/examples/widgets/arc/lv_example_arc_2.c b/examples/widgets/arc/lv_example_arc_2.c index 8c9d05013..89046207c 100644 --- a/examples/widgets/arc/lv_example_arc_2.c +++ b/examples/widgets/arc/lv_example_arc_2.c @@ -3,7 +3,7 @@ #if LV_USE_ARC && LV_BUILD_EXAMPLES /** - * An `lv_task` to call periodically to set the angles of the arc + * An `lv_timer` to call periodically to set the angles of the arc * @param t */ static void arc_loader(lv_timer_t * t) @@ -31,7 +31,7 @@ void lv_example_arc_2(void) lv_arc_set_angles(arc, 270, 270); lv_obj_align(arc, NULL, LV_ALIGN_CENTER, 0, 0); - /* Create an `lv_task` to update the arc. + /* Create an `lv_timer` to update the arc. * Store the `arc` in the user data*/ lv_timer_create(arc_loader, 20, arc); } |