summaryrefslogtreecommitdiff
path: root/src/tangara/system_fsm/booting.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-07-11 15:11:28 +1000
committerjacqueline <me@jacqueline.id.au>2024-07-11 15:11:28 +1000
commita3eb2dd9dc2399ce9c22cd3b07f482f080976440 (patch)
tree4a7883755d07b7d9a391d5b6e7858c0ab26e3bdd /src/tangara/system_fsm/booting.cpp
parenta9d2335e1d86b3012789a440e7f0e71033393056 (diff)
downloadtangara-fw-a3eb2dd9dc2399ce9c22cd3b07f482f080976440.tar.gz
WIP improve bluetooth api and settings screen
Diffstat (limited to 'src/tangara/system_fsm/booting.cpp')
-rw-r--r--src/tangara/system_fsm/booting.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tangara/system_fsm/booting.cpp b/src/tangara/system_fsm/booting.cpp
index 9d505f81..86993767 100644
--- a/src/tangara/system_fsm/booting.cpp
+++ b/src/tangara/system_fsm/booting.cpp
@@ -104,8 +104,7 @@ auto Booting::entry() -> void {
ESP_LOGI(kTag, "init bluetooth");
sServices->bluetooth(std::make_unique<drivers::Bluetooth>(
- sServices->nvs(), sServices->bg_worker()));
- sServices->bluetooth().SetEventHandler(bt_event_cb);
+ sServices->nvs(), sServices->bg_worker(), bt_event_cb));
BootComplete ev{.services = sServices};
events::Audio().Dispatch(ev);