From 4b1ef083ee86d788f530f8ba810d59a74f687eef Mon Sep 17 00:00:00 2001 From: Tian Hao Date: Tue, 27 Mar 2018 16:35:00 +0800 Subject: [PATCH] component/bt : add bluetooth controller library compile version --- components/bt/bt.c | 3 +++ components/bt/lib | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/components/bt/bt.c b/components/bt/bt.c index c2da24bd6..8a42a7124 100644 --- a/components/bt/bt.c +++ b/components/bt/bt.c @@ -57,6 +57,7 @@ extern int btdm_controller_deinit(void); extern int btdm_controller_enable(esp_bt_mode_t mode); extern int btdm_controller_disable(esp_bt_mode_t mode); extern uint8_t btdm_controller_get_mode(void); +extern const char *btdm_controller_get_compile_version(void); extern void btdm_rf_bb_init(void); /* VHCI function interface */ @@ -477,6 +478,8 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg) } #endif + ESP_LOGI(BTDM_LOG_TAG, "BT controller compile version [%s]\n", btdm_controller_get_compile_version()); + btdm_osi_funcs_register(&osi_funcs); btdm_controller_mem_init(); diff --git a/components/bt/lib b/components/bt/lib index c03357972..4e9fdabfe 160000 --- a/components/bt/lib +++ b/components/bt/lib @@ -1 +1 @@ -Subproject commit c03357972dd858e3b20155d5fdea00c31ffcbc9e +Subproject commit 4e9fdabfebc241f42be895c24e1790972e47d7ff