]> 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:38:39 +0000 (11:38 +0800)
commit65bdb2d7ff0c2cef9d561855f48be72147169161
tree25c9f57fd67b685be888d00793f78d3e553dd045
parenta7a861962daacec17bdb0f34fd59f16651b50b0f
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