Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c5a1f3e

Browse filesBrowse files
authored
Corrected CLASSIC_BT_ENABLED to CONFIG_BT_CLASSIC_ENABLED. (espressif#5471)
CLASSIC_BT_ENABLED never worked as was incorrectly named, e.g. see nkolban/esp32-snippets#890 (comment) Now corrected to the update-to-date name CONFIG_BT_CLASSIC_ENABLED.
1 parent 9406f8e commit c5a1f3e
Copy full SHA for c5a1f3e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎libraries/BLE/src/BLEDevice.cpp

Copy file name to clipboardExpand all lines: libraries/BLE/src/BLEDevice.cpp
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ gatts_event_handler BLEDevice::m_customGattsHandler = nullptr;
347347
return;
348348
}
349349

350-
#ifndef CLASSIC_BT_ENABLED
350+
#ifndef CONFIG_BT_CLASSIC_ENABLED
351351
esp_bt_controller_mem_release(ESP_BT_MODE_CLASSIC_BT);
352352
#endif
353353
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
@@ -357,7 +357,7 @@ gatts_event_handler BLEDevice::m_customGattsHandler = nullptr;
357357
return;
358358
}
359359

360-
#ifndef CLASSIC_BT_ENABLED
360+
#ifndef CONFIG_BT_CLASSIC_ENABLED
361361
errRc = esp_bt_controller_enable(ESP_BT_MODE_BLE);
362362
if (errRc != ESP_OK) {
363363
log_e("esp_bt_controller_enable: rc=%d %s", errRc, GeneralUtils::errorToString(errRc));

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.