From f28502514f39546dcc00e20e5bb86a5446261b28 Mon Sep 17 00:00:00 2001 From: Def3nder Date: Sun, 1 Mar 2020 12:25:44 +0100 Subject: [PATCH] Remember lastColor and last Bri for Solid RGBW (#743) --- wled00/FX_fcn.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/wled00/FX_fcn.cpp b/wled00/FX_fcn.cpp index ee0ca73a..2392392d 100644 --- a/wled00/FX_fcn.cpp +++ b/wled00/FX_fcn.cpp @@ -863,7 +863,9 @@ void WS2812FX::setRgbwPwm(void) { } #else bus->SetRgbwPwm(color.R * b / 255, color.G * b / 255, color.B * b / 255, color.W * b / 255); - #endif + #endif + _analogLastColor = color; + _analogLastBri = b; } #else void WS2812FX::setRgbwPwm() {}