Skip to content

Commit 1d1ba29

Browse files
committed
remove unnecessary definitions
1 parent 7a77cf2 commit 1d1ba29

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/LEDState.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ class SimpleLED : public StatefulLED {
245245
SimpleLED(leds, numLEDs, index, rgb2hsv_approximate(color))
246246
{}
247247

248-
// string representation of the state name
249-
inline virtual String name() const { return "Simple"; };
250-
251248
// the master signal for rainbow mode overrides all others
252249
virtual LEDState* chooseNextState(unsigned long const &millis, const SlaveState &slave) {
253250
if (slave.getMasterSignal(MasterSignal::Values::scrollRainbowEffects)) {
@@ -326,7 +323,6 @@ class RearFoggerLED : public SimpleLED {
326323
// This class defines a blinking LED that can blink 2 different colors
327324
class MultiBlinkingLED : public StatefulLED {
328325
public:
329-
RainbowState m_stRainbow;
330326
SolidColorState m_stSolid;
331327
FlashLoudState m_stFlashRedLoud;
332328
FlashQuietState m_stFlashRedQuiet;
@@ -338,17 +334,13 @@ class MultiBlinkingLED : public StatefulLED {
338334

339335
MultiBlinkingLED(struct CRGB* leds, int numLEDs, int index) :
340336
StatefulLED(leds, numLEDs, index),
341-
m_stRainbow(numLEDs, index),
342337
m_stSolid(COLOR_WHITE),
343338
m_stFlashRedLoud(COLOR_RED),
344339
m_stFlashRedQuiet(m_stSolid),
345340
m_stFlashAmberLoud(COLOR_AMBER),
346341
m_stFlashAmberQuiet(m_stSolid)
347342
{}
348343

349-
// string representation of the state name
350-
inline virtual String name() const { return "Blinkn"; };
351-
352344
// conditionally seed the flash states' timing
353345
void seedFlashTiming(unsigned long const &millis) {
354346
// if we're not in one of the non-flash states, then keep the flash seed as it is.

0 commit comments

Comments
 (0)