Skip to content

Commit

Permalink
Reoved deprecated option
Browse files Browse the repository at this point in the history
  • Loading branch information
dchristl committed Apr 21, 2024
1 parent 1f5d6d9 commit a821b3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firmware/ESP32/src/openhaystack_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,8 +164,8 @@ void app_main(void)
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
esp_bt_controller_init(&bt_cfg);
esp_bt_controller_enable(ESP_BT_MODE_BLE);

esp_bluedroid_init();
esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
esp_bluedroid_init_with_cfg(&bluedroid_cfg);
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_P9);
esp_bluedroid_enable();

Expand Down

0 comments on commit a821b3f

Please sign in to comment.