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

@@ -7,7 +7,7 @@ class Platform : public Task {
static int s_timezone;
static char s_deviceID[15];
public:
Platform() : Task("Platform") {}
Platform() : Task("Platform") {state = Task::Running;}
static BootOptions bootopts;
static void setTimezone(int tz) { s_timezone = tz; }
static int getTimezone() { return s_timezone; }