From 0f5cf25e73fb2e789b472317966ff80323dddd75 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Fri, 25 Aug 2023 16:59:39 +1000 Subject: More performance and usability tweaks - pin ui and decoder to opposite cores - disable touch wheel when controls are locked --- src/ui/ui_fsm.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/ui_fsm.cpp') diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index e8660207..508fb740 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -97,6 +97,7 @@ void UiState::PopScreen() { void UiState::react(const system_fsm::KeyLockChanged& ev) { sDisplay->SetDisplayOn(ev.falling); + sRelativeWheel->SetEnabled(ev.falling); } void UiState::react(const system_fsm::BatteryPercentChanged&) { -- cgit v1.2.3