Skip to content

Commit a821b3f

Browse files
committed
Reoved deprecated option
1 parent 1f5d6d9 commit a821b3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

firmware/ESP32/src/openhaystack_main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,8 @@ void app_main(void)
164164
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
165165
esp_bt_controller_init(&bt_cfg);
166166
esp_bt_controller_enable(ESP_BT_MODE_BLE);
167-
168-
esp_bluedroid_init();
167+
esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
168+
esp_bluedroid_init_with_cfg(&bluedroid_cfg);
169169
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_P9);
170170
esp_bluedroid_enable();
171171

0 commit comments

Comments
 (0)