This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Migrating to SDK 10: APP_TIMER_DEF()

Is there a migration guide for the SDK 10 somewhere? I think the use of the APP_TIMER_DEF() macro is one thing that should be in it. Took me a while to understand why the old code compiles but timers do not start.

It would be better if the library app_timer.c checked for the use of APP_TIMER_DEF() already in app_timer_create().

Now the error message is returned only from the function app_timer_start() which is confusing. The macro should have been called already before the app_timer_create() and I suppose there is no clean way to fix the problem between create() and start()?

Pertti

Parents
  • Agreed, migration documents for SDK would be nice. I will file an internal ticket for an improvement(this cannot be treated as bug) to SDK team to consider this from the next release. So you do not have to file any support case. Thanks for your inputs.

Reply
  • Agreed, migration documents for SDK would be nice. I will file an internal ticket for an improvement(this cannot be treated as bug) to SDK team to consider this from the next release. So you do not have to file any support case. Thanks for your inputs.

Children
No Data
Related