diff options
Diffstat (limited to 'src/tangara/system_fsm/booting.cpp')
| -rw-r--r-- | src/tangara/system_fsm/booting.cpp | 3 |
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); |
