Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
externals/nrf52: Treat INVALID_STATE error as success return
Current BLE board can not be powered off with cold sleep or bt_disable. Then, NRF_ERROR_INVALID_STATE, which means that HW has been already initialized, can be returned. So, treat NRF_ERROR_INVALID_STATE as the success return.
- Loading branch information
Showing
1 changed file
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters