Skip to content

Commit 4b1ef08

Browse files
committed
component/bt : add bluetooth controller library compile version
1 parent 2935e95 commit 4b1ef08

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

components/bt/bt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ extern int btdm_controller_deinit(void);
5757
extern int btdm_controller_enable(esp_bt_mode_t mode);
5858
extern int btdm_controller_disable(esp_bt_mode_t mode);
5959
extern uint8_t btdm_controller_get_mode(void);
60+
extern const char *btdm_controller_get_compile_version(void);
6061
extern void btdm_rf_bb_init(void);
6162

6263
/* VHCI function interface */
@@ -477,6 +478,8 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
477478
}
478479
#endif
479480

481+
ESP_LOGI(BTDM_LOG_TAG, "BT controller compile version [%s]\n", btdm_controller_get_compile_version());
482+
480483
btdm_osi_funcs_register(&osi_funcs);
481484

482485
btdm_controller_mem_init();

components/bt/lib

Submodule lib updated 1 file

0 commit comments

Comments
 (0)