diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-08-21 15:43:23 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-08-21 15:43:23 +1000 |
| commit | 764b01e913d0123747757e5efd3545d46e921848 (patch) | |
| tree | 76f0a1d2afb4b60818cc46fd5649938713f2f261 /src/ui/ui_fsm.cpp | |
| parent | 27f329a9dbf18a046ade534c9330b03e586cdb98 (diff) | |
| download | tangara-fw-764b01e913d0123747757e5efd3545d46e921848.tar.gz | |
Add idle->standby support when locked and no music
Diffstat (limited to 'src/ui/ui_fsm.cpp')
| -rw-r--r-- | src/ui/ui_fsm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp index 30b0be0c..1f83477d 100644 --- a/src/ui/ui_fsm.cpp +++ b/src/ui/ui_fsm.cpp @@ -10,6 +10,7 @@ #include "core/lv_obj.h" #include "display.hpp" #include "event_queue.hpp" +#include "gpios.hpp" #include "lvgl_task.hpp" #include "relative_wheel.hpp" #include "screen.hpp" @@ -92,7 +93,7 @@ namespace states { void Splash::exit() { if (sDisplay != nullptr) { - sDisplay->SetDisplayOn(true); + sDisplay->SetDisplayOn(sIGpios->Get(drivers::IGpios::Pin::kKeyLock)); } } |
