summaryrefslogtreecommitdiff
path: root/src/ui/ui_fsm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/ui_fsm.cpp')
-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) {