mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
Rename Kconfig options (components/bt)
This commit is contained in:
@@ -210,9 +210,9 @@ esp_err_t simple_ble_start(simple_ble_cfg_t *cfg)
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_BTDM_CONTROLLER_MODE_BTDM
|
||||
#ifdef CONFIG_BTDM_CTRL_MODE_BTDM
|
||||
ret = esp_bt_controller_enable(ESP_BT_MODE_BTDM);
|
||||
#elif defined CONFIG_BTDM_CONTROLLER_MODE_BLE_ONLY
|
||||
#elif defined CONFIG_BTDM_CTRL_MODE_BLE_ONLY
|
||||
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