We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1f5d6d9 commit a821b3fCopy full SHA for a821b3f
firmware/ESP32/src/openhaystack_main.c
@@ -164,8 +164,8 @@ void app_main(void)
164
esp_bt_controller_config_t bt_cfg = BT_CONTROLLER_INIT_CONFIG_DEFAULT();
165
esp_bt_controller_init(&bt_cfg);
166
esp_bt_controller_enable(ESP_BT_MODE_BLE);
167
-
168
- esp_bluedroid_init();
+ esp_bluedroid_config_t bluedroid_cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT();
+ esp_bluedroid_init_with_cfg(&bluedroid_cfg);
169
esp_ble_tx_power_set(ESP_BLE_PWR_TYPE_ADV, ESP_PWR_LVL_P9);
170
esp_bluedroid_enable();
171
0 commit comments