We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65eafd1 commit 18473ffCopy full SHA for 18473ff
libraries/BLE/src/BLEDevice.cpp
@@ -347,7 +347,7 @@ gatts_event_handler BLEDevice::m_customGattsHandler = nullptr;
347
return;
348
}
349
350
-#ifndef CLASSIC_BT_ENABLED
+#ifndef CONFIG_BT_CLASSIC_ENABLED
351
esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT);
352
#endif
353
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
@@ -357,7 +357,7 @@ gatts_event_handler BLEDevice::m_customGattsHandler = nullptr;
357
358
359
360
361
errRc = esp_bt_controller_enable(ESP_BT_MODE_BLE);
362
if (errRc != ESP_OK) {
363
log_e("esp_bt_controller_enable: rc=%d %s", errRc, GeneralUtils::errorToString(errRc));
0 commit comments