lvgl/src/lv_misc/lv_anim.c
/**
 * Set the duration and delay of an animation
 * @param a pointer to an initialized `lv_anim_t` variable
 * @param duration duration of the animation in milliseconds
 * @param delay delay before the animation in milliseconds
 */
Set the duration and delay of an animation
@param a pointer to an initialized `lv_anim_t` variable
@param duration duration of the animation in milliseconds
@param delay delay before the animation in milliseconds
Set the duration and delay of an animation @param a pointer to an initialized ` lv_anim_t ` variable @param duration duration of the animation in milliseconds @param delay delay before the animation in milliseconds
void lv_anim_set_time(lv_anim_t * a, uint16_t duration, int16_t delay)
{
    a->time     = duration;
    a->act_time = (int16_t)(-delay);
}
void lv_anim_set_time ( lv_anim_t * a , uint16_t duration , int16_t delay ) { a -> time = duration ; a -> act_time = ( int16_t ) ( - delay ) ; }
Set the duration and delay of an animation
 @param a pointer to an initialized `lv_anim_t` variable
 @param duration duration of the animation in milliseconds
 @param delay delay before the animation in milliseconds
Set the duration and delay of an animation @param a pointer to an initialized ` lv_anim_t ` variable @param duration duration of the animation in milliseconds @param delay delay before the animation in milliseconds