Closed trond-snekvik closed 8 years ago
In timeslot.c, the ts_sd_event_handler() does APP_ERROR_CHECK(NRF_ERROR_INVALID_STATE); on unknown event types, while it should be ignoring them. Event types related to flash-access and similar will crash the framework, and it's a bit unnecessary.
the ts_sd_event_handler()
APP_ERROR_CHECK(NRF_ERROR_INVALID_STATE);
In timeslot.c,
the ts_sd_event_handler()
doesAPP_ERROR_CHECK(NRF_ERROR_INVALID_STATE);
on unknown event types, while it should be ignoring them. Event types related to flash-access and similar will crash the framework, and it's a bit unnecessary.