main: start all safemode tasks, unconditionally
This commit is contained in:
parent
5a6809a723
commit
5a62b30019
@ -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...");
|
||||||
|
Loading…
Reference in New Issue
Block a user