mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 03:07:21 +02:00
bugfix: deinit ble for specifies ESP_BT_MODE_BTDM
This commit is contained in:
committed by
InfiniteYuan
parent
190e9e7212
commit
7e49268933
@ -815,7 +815,7 @@ esp_err_t esp_bt_mem_release(esp_bt_mode_t mode)
|
||||
{
|
||||
intptr_t mem_start, mem_end;
|
||||
|
||||
if (mode == ESP_BT_MODE_BLE) {
|
||||
if (mode & ESP_BT_MODE_BLE) {
|
||||
mem_start = (intptr_t)&_bt_bss_start;
|
||||
mem_end = (intptr_t)&_bt_bss_end;
|
||||
if (mem_start != mem_end) {
|
||||
|
Reference in New Issue
Block a user