summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-11-10 08:18:35 +1100
committerjacqueline <me@jacqueline.id.au>2023-11-10 08:19:27 +1100
commit0419def89b49c3a17991f777f0de08fe6a2ef524 (patch)
tree903cb34481a3efe03117f3643dd0123350021650 /src/ui
parentd42de6b12292ead077e79d1edb72b52a39767909 (diff)
downloadtangara-fw-0419def89b49c3a17991f777f0de08fe6a2ef524.tar.gz
Change lock switch direction to match r7 standby
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/ui_fsm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp
index ee915779..a4001efe 100644
--- a/src/ui/ui_fsm.cpp
+++ b/src/ui/ui_fsm.cpp
@@ -91,8 +91,8 @@ void UiState::PopScreen() {
}
void UiState::react(const system_fsm::KeyLockChanged& ev) {
- sDisplay->SetDisplayOn(ev.falling);
- sInput->lock(!ev.falling);
+ sDisplay->SetDisplayOn(!ev.locking);
+ sInput->lock(ev.locking);
}
void UiState::react(const system_fsm::BatteryStateChanged& ev) {