summaryrefslogtreecommitdiff
path: root/src/ui/ui_fsm.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-08-25 16:59:39 +1000
committerjacqueline <me@jacqueline.id.au>2023-08-25 16:59:39 +1000
commit0f5cf25e73fb2e789b472317966ff80323dddd75 (patch)
tree714bce08328a8cc86e1cb97a1c60fb0a267ff49d /src/ui/ui_fsm.cpp
parent485e9adfce01b9b4e21dae927fb3b7ed3d5fc83d (diff)
downloadtangara-fw-0f5cf25e73fb2e789b472317966ff80323dddd75.tar.gz
More performance and usability tweaks
- pin ui and decoder to opposite cores - disable touch wheel when controls are locked
Diffstat (limited to 'src/ui/ui_fsm.cpp')
-rw-r--r--src/ui/ui_fsm.cpp1
1 files changed, 1 insertions, 0 deletions
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&) {