]> granicus.if.org Git - esp-idf/commit
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but...
authorTian Hao <tianhao@espressif.com>
Tue, 12 Dec 2017 07:24:43 +0000 (15:24 +0800)
committerTian Hao <tianhao@espressif.com>
Wed, 13 Dec 2017 03:37:31 +0000 (11:37 +0800)
commit489f5efbd1b5633922b27d45bb20211bcfdd0516
tree2021f11843dbabae10dd0306d2dc741029874d25
parent043ef32651fada9f66362949deecfe101c636e6c
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.

1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
14 files changed:
components/bt/bt.c
components/bt/include/esp_bt.h
examples/bluetooth/a2dp_sink/main/main.c
examples/bluetooth/ble_eddystone/main/esp_eddystone_demo.c
examples/bluetooth/ble_ibeacon/main/ibeacon_demo.c
examples/bluetooth/ble_spp_client/main/spp_client_demo.c
examples/bluetooth/ble_spp_server/main/ble_spp_server_demo.c
examples/bluetooth/blufi/main/blufi_example_main.c
examples/bluetooth/gatt_client/main/gattc_demo.c
examples/bluetooth/gatt_security_client/main/example_ble_sec_gattc_demo.c
examples/bluetooth/gatt_security_server/main/example_ble_sec_gatts_demo.c
examples/bluetooth/gatt_server/main/gatts_demo.c
examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c
examples/bluetooth/gattc_multi_connect/main/gattc_multi_connect.c