Hii....
i have some doubt in app easy timer. i implement an app easy timer of 1 minute and also wait some flags triggering in my application which is in while loop of arch_main() when i do this in my application app easy timer drift second's(ie is not work properly) why this happening?
if i am not waiting flags in main app easy timer works fine. i need a help. why this happening
Device:
Hi alan.a,
对不起但是我不能够听懂你我an, your description is quite generic, can you please clarify your question? Do you mean that when the timer expired, the registered callback is not executed since the flags are not activated ? And the callback is triggered after 1 second?
Thanks, PM_Dialog
Thanks for your reply,
when i start app easy timer. if i wait for some flags in main function timer not properly provide delay for example:-
start timer:- app_easy_timer(100,update_timer); in main function
after that i wait for a flag using while loop:- while(app_flag ); this app_flag is waiting for some application process complete.(its also in main function)
inside the call back again start timer:-app_easy_timer(100,update_timer);(for restart timer)
here the problem is app_easy_timer not properly triggered
if i remove while(app_flag ); from main function its works fine why app easy timer not properly trigger when application is wait for something?
Hi alan.a,
According to your description, I suppose that timer is not triggered due to your software implementation and it is not an issue from the side of the app_easy_timer(). If I understood correctly, the applications callback function in which you have placed the timers waits the app_flag? Can you please the timer somewhere else?
Thanks, PM_Dialog