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

SoftBlinking LED | Scheduler | SDK14

Hello guys!

I'm trying to get softblinking led work with a SDK14. The code works perfectly fine in one of my projects that use scheduler and SDK13.

But in SDK14, (only!) when I initialize softblinking, I get an NRF_ERROR_INVALID_LENGTH error on line 385 of app_timer.c

        uint32_t err_code = app_sched_event_put(&timer_event, sizeof(timer_event), timeout_handler_scheduled_exec);
        APP_ERROR_CHECK(err_code);

I'm missing something or I'm doing something wrong with a new SDK14?