diff --git a/src/wsLED.cpp b/src/wsLED.cpp index 0b96f90..26406af 100644 --- a/src/wsLED.cpp +++ b/src/wsLED.cpp @@ -242,6 +242,8 @@ void wsLED::pulse(LEDRGB color, uint32_t duration) _pulseColor = color; if (LED_BREATH == _ledState || LED_BLINK == _ledState) { _savedState = _ledState; + } else { + _savedState = LED_STOP; } _pulseDuration = duration; _ledState = LED_PULSE_START;