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 9bbd720

Browse filesBrowse files
billprozacme-no-dev
authored andcommitted
Update BLEDevice.cpp (espressif#3267)
Pretty sure this was a typo as the deinit doesn't actually allow for reinit if that is an ifndef. Changed in my local copy and can now deinit and reinit just fine. Also, not sure why we are checking for the architecture here. Just curious.
1 parent 589bb70 commit 9bbd720
Copy full SHA for 9bbd720

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+1
-1
lines changed

‎libraries/BLE/src/BLEDevice.cpp

Copy file name to clipboardExpand all lines: libraries/BLE/src/BLEDevice.cpp
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ void BLEDevice::removePeerDevice(uint16_t conn_id, bool _client) {
625625
esp_bluedroid_deinit();
626626
esp_bt_controller_disable();
627627
esp_bt_controller_deinit();
628-
#ifndef ARDUINO_ARCH_ESP32
628+
#ifdef ARDUINO_ARCH_ESP32
629629
if (release_memory) {
630630
esp_bt_controller_mem_release(ESP_BT_MODE_BTDM); // <-- require tests because we released classic BT memory and this can cause crash (most likely not, esp-idf takes care of it)
631631
} else {

0 commit comments

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