main: start all safemode tasks, unconditionally

This commit is contained in:
Torrie Fischer 2023-12-11 07:51:28 +01:00
parent 5a6809a723
commit 5a62b30019

View File

@ -112,7 +112,10 @@ void setup() {
if (Platform::bootopts.isSafeMode) { if (Platform::bootopts.isSafeMode) {
Log.warning(u8"⚠️ Starting Figment in safe mode!!!"); Log.warning(u8"⚠️ Starting Figment in safe mode!!!");
runner = &SafeMode::safeModeApp; 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(); FastLED.show();
} else { } else {
Log.notice(u8"🌌 Starting Figment..."); Log.notice(u8"🌌 Starting Figment...");