summaryrefslogtreecommitdiff
path: root/src/system_fsm
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-09-26 21:07:44 +1000
committerjacqueline <me@jacqueline.id.au>2023-09-26 21:07:44 +1000
commit252f685ef1502016ed00be4eeaa4a217386fbce0 (patch)
tree9b797795913c61c6b6c9f77e79e4a62419883f7b /src/system_fsm
parent96252973d9b142632b7c54f825ce1de2127754bd (diff)
downloadtangara-fw-252f685ef1502016ed00be4eeaa4a217386fbce0.tar.gz
Make NVS access synchronous again
Everything relevant is back in internal ram, and likely to stay there.
Diffstat (limited to 'src/system_fsm')
-rw-r--r--src/system_fsm/booting.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp
index 28cd8cf6..c4be715b 100644
--- a/src/system_fsm/booting.cpp
+++ b/src/system_fsm/booting.cpp
@@ -82,7 +82,7 @@ auto Booting::entry() -> void {
sServices->bluetooth(std::make_unique<drivers::Bluetooth>(sServices->nvs()));
sServices->bluetooth().SetEventHandler(bt_event_cb);
- if (sServices->nvs().OutputMode().get() ==
+ if (sServices->nvs().OutputMode() ==
drivers::NvsStorage::Output::kBluetooth) {
ESP_LOGI(kTag, "enabling bluetooth");
sServices->bluetooth().Enable();