From 7fbb2162ee448b8d8a1744f9a3e31db86149da21 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 6 Feb 2024 09:01:12 +1100 Subject: Start keeping lock switch polarity in nvs i will use this to do a sneaky trick; in-place upgrading brendan, hailey, and erin's devices --- src/system_fsm/booting.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/system_fsm/booting.cpp') diff --git a/src/system_fsm/booting.cpp b/src/system_fsm/booting.cpp index e6267879..888ce5d3 100644 --- a/src/system_fsm/booting.cpp +++ b/src/system_fsm/booting.cpp @@ -98,6 +98,8 @@ auto Booting::entry() -> void { sServices->bluetooth().Enable(); } + sServices->nvs().LockPolarity(true); + BootComplete ev{.services = sServices}; events::Audio().Dispatch(ev); events::Ui().Dispatch(ev); -- cgit v1.2.3