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

potential bug in peer_data_storage

Hi I think this might be a potential bug in peer_data_storage.c

ret = fds_register(fds_evt_handler); if (ret != NRF_SUCCESS) { return NRF_ERROR_INTERNAL; } ret = fds_init(); if (ret != NRF_SUCCESS) { return NRF_ERROR_NO_MEM; }

fds_register is called before fds_init(). Why is this? surely you should init before registering ?

Related