diff options
| author | ailurux <ailuruxx@gmail.com> | 2024-04-22 09:48:21 +1000 |
|---|---|---|
| committer | ailurux <ailuruxx@gmail.com> | 2024-04-22 09:48:21 +1000 |
| commit | 4eb1a074f7c7dc7e43789400bea5e6357e4546f5 (patch) | |
| tree | a93e29b51e5c902329d28a7b2064e0ffdcee9887 /src/drivers/bluetooth.cpp | |
| parent | dfccf56f34484b3e9efcb48b240abdb22c577281 (diff) | |
| parent | 5b99267cb9f0344e519956096867aea5468ecf9f (diff) | |
| download | tangara-fw-4eb1a074f7c7dc7e43789400bea5e6357e4546f5.tar.gz | |
Merge branch 'main' of codeberg.org:cool-tech-zone/tangara-fw
Diffstat (limited to 'src/drivers/bluetooth.cpp')
| -rw-r--r-- | src/drivers/bluetooth.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/bluetooth.cpp b/src/drivers/bluetooth.cpp index edd5f67e..5d1b35fa 100644 --- a/src/drivers/bluetooth.cpp +++ b/src/drivers/bluetooth.cpp @@ -438,7 +438,8 @@ void Disabled::react(const events::Enable&) { return; } - if ((err = esp_bluedroid_init() != ESP_OK)) { + esp_bluedroid_config_t cfg = BT_BLUEDROID_INIT_CONFIG_DEFAULT(); + if ((err = esp_bluedroid_init_with_cfg(&cfg) != ESP_OK)) { ESP_LOGE(kTag, "initialize bluedroid failed %s", esp_err_to_name(err)); return; } |
