AnsweredAssumed Answered

_timer_start_oneshot_at_ticks usage

Question asked by Ion Popescu on Apr 1, 2011
Latest reply on May 20, 2011 by Petr MacHala



I'm having a problem using the _timer_start_oneshot_at_ticks function. For my application I need to set a timer to count a certain amount of time and call a function only once. For this I'm calling _timer_start_oneshot_at_ticks and everything seems to work ok at the beginning.

The problem is that I need to repeat this operation for an unlimited number of times but it seems that every time I call _timer_start_oneshot_at_ticks, the return value of the function increases like if a new timer is created every time the function is called, and after a certain amount of time the _timer_start_oneshot_at_ticks starts returning TIMER_NULL_ID.


Any idea of how to turnaround this problem?