forked from h2zero/esp-nimble-cpp
Remove NimBLEServer::start abort.
This commit is contained in:
@ -192,9 +192,8 @@ void NimBLEServer::start() {
|
|||||||
|
|
||||||
int rc = ble_gatts_start();
|
int rc = ble_gatts_start();
|
||||||
if (rc != 0) {
|
if (rc != 0) {
|
||||||
NIMBLE_LOGE(LOG_TAG, "ble_gatts_start; rc=%d, %s", rc,
|
NIMBLE_LOGE(LOG_TAG, "ble_gatts_start; rc=%d, %s", rc, NimBLEUtils::returnCodeToString(rc));
|
||||||
NimBLEUtils::returnCodeToString(rc));
|
return;
|
||||||
abort();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 4
|
#if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 4
|
||||||
|
Reference in New Issue
Block a user