Skip to content

Commit

Permalink
fix(anim): remove the redefinition of lv_anim_set_time
Browse files Browse the repository at this point in the history
fixes lvgl#7498
  • Loading branch information
kisvegabor committed Dec 22, 2024
1 parent 36a6d17 commit 2fddac6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/misc/lv_anim.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,6 @@ void lv_anim_set_duration(lv_anim_t * a, uint32_t duration)
a->duration = duration;
}

void lv_anim_set_time(lv_anim_t * a, uint32_t duration)
{
lv_anim_set_duration(a, duration);
}

void lv_anim_set_delay(lv_anim_t * a, uint32_t delay)
{
a->act_time = -(int32_t)(delay);
Expand Down
5 changes: 0 additions & 5 deletions src/misc/lv_anim.h
Original file line number Diff line number Diff line change
Expand Up @@ -191,11 +191,6 @@ void lv_anim_set_exec_cb(lv_anim_t * a, lv_anim_exec_xcb_t exec_cb);
*/
void lv_anim_set_duration(lv_anim_t * a, uint32_t duration);

/**
* Legacy `lv_anim_set_time` API will be removed soon, use `lv_anim_set_duration` instead.
*/
void lv_anim_set_time(lv_anim_t * a, uint32_t duration);

/**
* Set a delay before starting the animation
* @param a pointer to an initialized `lv_anim_t` variable
Expand Down

0 comments on commit 2fddac6

Please sign in to comment.