@@ -245,9 +245,6 @@ class SimpleLED : public StatefulLED {
245
245
SimpleLED (leds, numLEDs, index, rgb2hsv_approximate(color))
246
246
{}
247
247
248
- // string representation of the state name
249
- inline virtual String name () const { return " Simple" ; };
250
-
251
248
// the master signal for rainbow mode overrides all others
252
249
virtual LEDState* chooseNextState (unsigned long const &millis, const SlaveState &slave) {
253
250
if (slave.getMasterSignal (MasterSignal::Values::scrollRainbowEffects)) {
@@ -326,7 +323,6 @@ class RearFoggerLED : public SimpleLED {
326
323
// This class defines a blinking LED that can blink 2 different colors
327
324
class MultiBlinkingLED : public StatefulLED {
328
325
public:
329
- RainbowState m_stRainbow;
330
326
SolidColorState m_stSolid;
331
327
FlashLoudState m_stFlashRedLoud;
332
328
FlashQuietState m_stFlashRedQuiet;
@@ -338,17 +334,13 @@ class MultiBlinkingLED : public StatefulLED {
338
334
339
335
MultiBlinkingLED (struct CRGB * leds, int numLEDs, int index) :
340
336
StatefulLED (leds, numLEDs, index),
341
- m_stRainbow (numLEDs, index),
342
337
m_stSolid (COLOR_WHITE),
343
338
m_stFlashRedLoud (COLOR_RED),
344
339
m_stFlashRedQuiet (m_stSolid),
345
340
m_stFlashAmberLoud (COLOR_AMBER),
346
341
m_stFlashAmberQuiet (m_stSolid)
347
342
{}
348
343
349
- // string representation of the state name
350
- inline virtual String name () const { return " Blinkn" ; };
351
-
352
344
// conditionally seed the flash states' timing
353
345
void seedFlashTiming (unsigned long const &millis) {
354
346
// if we're not in one of the non-flash states, then keep the flash seed as it is.
0 commit comments