This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Should I check the app timer state before restop or restart it?

Is it acceptable if I stop an app timer for dozens of times when the app timer is actually stopped. Will the memory leak if I operates in these scenario.Does it affect whether use scheduler when I init the app timer?

Parents Reply
  • The app_timer uses RTC1 timer in the background, so make sure you do not use RTC1 timer for anything else.

    All the information that I have is that it should work normally. Perhaps something in your code interferes with the app_timer operation and triggers some corner case. I would recommend to you to do an isolated test for the app_timer, and gradually add the extra functionality of your code in order to isolate the problem.

    If the problem remains, you could share your project with the Nordic's technical support team. To do that, go to www.nordicsemi.com, create a profile and register a new support case, attach your code and provide a link to this devzone thread for reference.

Children
No Data
Related