lv_timer_set_auto_delete() function
Set whether a lv_timer will be deleted automatically when it is called `repeat_count` times.
Arguments
timer
pointer to a lv_timer.
auto_delete
true: auto delete; false: timer will be paused when it is called `repeat_count` times.