Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing handling of NRF_ERROR_RESOURCES #12

Open
bjornspock opened this issue Mar 27, 2019 · 0 comments
Open

Missing handling of NRF_ERROR_RESOURCES #12

bjornspock opened this issue Mar 27, 2019 · 0 comments

Comments

@bjornspock
Copy link
Contributor

err_code = ble_cus_custom_value_update(&m_cus, m_custom_value);

APP_ERROR_CHECK(err_code);

should be replaced by

if ((err_code != NRF_ERROR_INVALID_STATE) &&
(err_code != NRF_ERROR_RESOURCES) &&
(err_code != NRF_ERROR_NOT_FOUND))
{
APP_ERROR_CHECK(err_code);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant