diff options
| author | jacqueline <me@jacqueline.id.au> | 2024-02-06 21:27:43 +1100 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2024-02-06 21:27:43 +1100 |
| commit | d23435fab7a7878d4a82f6b7a113f65c12ec33a7 (patch) | |
| tree | 281dda3dcff68782a1575b9dcd6dbba896c6fc32 /src/system_fsm/booting.cpp | |
| parent | aff28342d94f9140e36a793353575d243cc789b8 (diff) | |
| download | tangara-fw-d23435fab7a7878d4a82f6b7a113f65c12ec33a7.tar.gz | |
Retry bt device connections
i hate this janky-ass protocol
Diffstat (limited to 'src/system_fsm/booting.cpp')
| -rw-r--r-- | src/system_fsm/booting.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index 888ce5d3..b166a02c 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -89,7 +89,8 @@ auto Booting::entry() -> void { sServices->collator(locale::CreateCollator()); ESP_LOGI(kTag, "init bluetooth"); - sServices->bluetooth(std::make_unique<drivers::Bluetooth>(sServices->nvs())); + sServices->bluetooth(std::make_unique<drivers::Bluetooth>( + sServices->nvs(), sServices->bg_worker())); sServices->bluetooth().SetEventHandler(bt_event_cb); if (sServices->nvs().OutputMode() == |
