figments: figment: redefine task startup state semantics
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
2023-02-18 16:33:09 +01:00
parent b33885e9f5
commit 2848c8ad12
13 changed files with 16 additions and 22 deletions

View File

@@ -30,7 +30,7 @@ private:
// Particle. This allows for multiple devices with wildly different displays to
// run the same code
struct ConfigService: public Task {
ConfigService() : Task("Configuration") {}
ConfigService() : Task("Configuration") {state = Task::Running;}
void onStart();
void loop() override;
void handleEvent(const InputEvent &evt) override;