From 5a62b30019398f86b35c609066f9b1e279e2e7e0 Mon Sep 17 00:00:00 2001 From: Torrie Fischer Date: Mon, 11 Dec 2023 07:51:28 +0100 Subject: [PATCH] main: start all safemode tasks, unconditionally --- src/main.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index e1ffa3f..e102237 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -112,7 +112,10 @@ void setup() { if (Platform::bootopts.isSafeMode) { Log.warning(u8"⚠️ Starting Figment in safe mode!!!"); runner = &SafeMode::safeModeApp; - FastLED.showColor(CRGB(5, 0, 0)); + for(auto task : runner->scheduler.tasks) { + task->state = Task::Running; + } + FastLED.showColor(CRGB(255, 0, 0)); FastLED.show(); } else { Log.notice(u8"🌌 Starting Figment...");