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

@ -4,8 +4,8 @@
template<int Period>
class ColorSequenceInput: public InputSource {
public:
ColorSequenceInput(const std::vector<CRGB> &colors, const char* name, Task::State initialState)
: InputSource(name, initialState), m_colors(colors) {}
ColorSequenceInput(const std::vector<CRGB> &colors, const char* name)
: InputSource(name), m_colors(colors) {}
InputEvent read() override {
EVERY_N_SECONDS(Period) {