mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack
This commit is contained in:
@@ -228,7 +228,7 @@ esp_err_t simple_ble_start(simple_ble_cfg_t *cfg)
|
||||
|
||||
#ifdef CONFIG_BTDM_CTRL_MODE_BTDM
|
||||
ret = esp_bt_controller_enable(ESP_BT_MODE_BTDM);
|
||||
#elif defined CONFIG_BTDM_CTRL_MODE_BLE_ONLY
|
||||
#elif defined CONFIG_BTDM_CTRL_MODE_BLE_ONLY || CONFIG_BT_CTRL_MODE_EFF
|
||||
ret = esp_bt_controller_enable(ESP_BT_MODE_BLE);
|
||||
#else
|
||||
ESP_LOGE(TAG, "Configuration mismatch. Select BLE Only or BTDM mode from menuconfig");
|
||||
|
||||
Reference in New Issue
Block a user