Remove NimBLEServer::start abort.

This commit is contained in:
h2zero 2024-07-03 14:27:31 -06:00
parent fd698b0212
commit a1bd817875

View file

@ -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