diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-09-26 21:07:44 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-09-26 21:07:44 +1000 |
| commit | 252f685ef1502016ed00be4eeaa4a217386fbce0 (patch) | |
| tree | 9b797795913c61c6b6c9f77e79e4a62419883f7b /src/system_fsm | |
| parent | 96252973d9b142632b7c54f825ce1de2127754bd (diff) | |
| download | tangara-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.cpp | 2 |
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(); |
