fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration

This commit is contained in:
zhiweijian
2024-04-30 12:02:45 +08:00
parent 9b3ae86417
commit 7e97c5fb16
38 changed files with 78 additions and 131 deletions
@@ -545,8 +545,7 @@ void app_main(void)
return;
}
esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
ret = esp_bluedroid_init_with_cfg(&bluedroid_cfg);
ret = esp_bluedroid_init();
if (ret) {
ESP_LOGE(GATTC_TAG, "%s init bluetooth failed: %s", __func__, esp_err_to_name(ret));
return;