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.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp
index 4a196f5d..8e355fd1 100644
--- a/src/ui/ui_fsm.cpp
+++ b/src/ui/ui_fsm.cpp
@@ -80,7 +80,7 @@ auto UiState::InitBootSplash(drivers::IGpios& gpios) -> bool {
sCurrentScreen.reset(new screens::Splash());
sTask.reset(UiTask::Start());
- sDisplay->SetDisplayOn(!gpios.Get(drivers::IGpios::Pin::kKeyLock));
+ sDisplay->SetDisplayOn(!gpios.IsLocked());
return true;
}