diff --git a/docs/overview/animations.rst b/docs/overview/animations.rst index e1fa60df2..de29a32d9 100644 --- a/docs/overview/animations.rst +++ b/docs/overview/animations.rst @@ -57,7 +57,7 @@ and configured with ``lv_anim_set_...()`` functions. lv_anim_set_delay(&a, delay); /*Set path (curve). Default is linear*/ - lv_anim_set_path(&a, lv_anim_path_ease_in); + lv_anim_set_path_cb(&a, lv_anim_path_ease_in); /*Set a callback to indicate when the animation is completed.*/ lv_anim_set_completed_cb(&a, completed_cb);