3 posts / 0 new
Last post
liyang
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-09-24 11:51
How to close the timer?

hi,Dialog:

sometimes ,I want to close the timer ,but I find it make no difference to using the ke_timer_clear(); Is it must be use in the timer_handler function ?

Device:
liyang
Offline
Last seen:6 months 2 weeks ago
Expert
加入:2014-09-24 11:51
no one knows ?

no one knows ?

MT_dialog
Offline
Last seen:3 months 2 days ago
Staff
加入:2015-06-08 11:34
Hi liyang,

Hi liyang,

I am sorry, i dont quite get the question, the ke_timer_clear indeed clears a timer, but there is no reason to clear a timer when its callback gets invoked, that means that the time has elapsed and the timer is cleared. Also please use the app_easy_timer() api for using the timers.

Thanks MT_dialog