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

How to initialize the scheduler of app_scheduler module?

I'm trying to port my old project to the newer soft device and SDK (v8.0.0) and just ran into an issue where the app_timer_event_t seems to no longer be defined. My previous initialization for the app scheduler was:

APP_SCHED_INIT(sizeof(app_timer_event_t), 20);

But I realize that is likely more than necessary. I only have two real timers running. How do I decide the maximum event size and queue size to initialize the scheduler with?

error:  #20: identifier "app_timer_event_t" is undefined
Related