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.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) {