From 252f685ef1502016ed00be4eeaa4a217386fbce0 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 26 Sep 2023 21:07:44 +1000 Subject: Make NVS access synchronous again Everything relevant is back in internal ram, and likely to stay there. --- src/system_fsm/booting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/system_fsm/booting.cpp') 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(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(); -- cgit v1.2.3