summaryrefslogtreecommitdiff
path: root/src/ui/ui_fsm.cpp
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2023-05-22 15:34:40 +1000
committerjacqueline <me@jacqueline.id.au>2023-05-22 15:35:50 +1000
commitda977aaa3feb397c426563da8897d51ebeba8d1f (patch)
tree3daf9278518b2cace7f26ec67e7eb486ba6adcf2 /src/ui/ui_fsm.cpp
parenta6ab1504058304012791281f9eb42c262745888f (diff)
parent5ac4d3949cd7430e0d4c994bbc528e8e4fa91337 (diff)
downloadtangara-fw-da977aaa3feb397c426563da8897d51ebeba8d1f.tar.gz
Merge branch 'main' into state-machines
Diffstat (limited to 'src/ui/ui_fsm.cpp')
-rw-r--r--src/ui/ui_fsm.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/ui_fsm.cpp b/src/ui/ui_fsm.cpp
index 8ca201e2..72d3f392 100644
--- a/src/ui/ui_fsm.cpp
+++ b/src/ui/ui_fsm.cpp
@@ -10,7 +10,6 @@ drivers::GpioExpander* UiState::sGpioExpander;
std::weak_ptr<drivers::TouchWheel> UiState::sTouchWheel;
std::weak_ptr<drivers::Display> UiState::sDisplay;
std::weak_ptr<database::Database> UiState::sDatabase;
-std::atomic<bool> UiState::sTaskQuit;
auto UiState::Init(drivers::GpioExpander* gpio_expander,
std::weak_ptr<drivers::TouchWheel> touchwheel,
@@ -25,7 +24,7 @@ auto UiState::Init(drivers::GpioExpander* gpio_expander,
namespace states {
void PreBoot::react(const system_fsm::DisplayReady& ev) {
- transit<Splash>([&]() { StartLvgl(sTouchWheel, sDisplay, &sTaskQuit); });
+ transit<Splash>([&]() { StartLvgl(sTouchWheel, sDisplay); });
}
void Splash::react(const system_fsm::BootComplete& ev) {