lv_anim_get_repeat_count() function
Get the repeat count of the animation.
Syntax
uint32_t lv_anim_get_repeat_count(const lv_anim_t * a); Arguments
a
pointer to an initialized `lv_anim_t` variable
Return value
the repeat count or `LV_ANIM_REPEAT_INFINITE` for infinite repetition. 0: disabled repetition.