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

@@ -65,7 +65,7 @@ InputFunc randomPulse([]() {
}
}
return InputEvent{};
}, "Pulse", Task::Stopped);
}, "Pulse");
REGISTER_TASK(randomPulse);
@@ -157,7 +157,7 @@ ColorSequenceInput<9> idleCycle{{
CRGB(128, 0, 128), // Purple
CRGB(255, 255, 255), // White
CRGB(0, 255, 255), // Cyan
}, "IdleColors", Task::Stopped};
}, "IdleColors"};
REGISTER_TASK(idleCycle);
@@ -167,7 +167,7 @@ ColorSequenceInput<7> rainbowCycle{{
CRGB(0, 255, 0), // Green
CRGB(0, 0, 255), // Blue
CRGB(128, 0, 128), // Purple
}, "Rainbow", Task::Stopped};
}, "Rainbow"};
REGISTER_TASK(rainbowCycle);