From 7101ad81c44433fb4ae06e116d8330369e0e3d0f Mon Sep 17 00:00:00 2001 From: cschwinne Date: Tue, 7 Dec 2021 13:37:28 +0100 Subject: [PATCH] No auto white for RGB DDP bus --- wled00/bus_manager.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/bus_manager.h b/wled00/bus_manager.h index 7366bcc3..b0838ae7 100644 --- a/wled00/bus_manager.h +++ b/wled00/bus_manager.h @@ -454,8 +454,8 @@ class BusNetwork : public Bus { void setPixelColor(uint16_t pix, uint32_t c) { if (!_valid || pix >= _len) return; + if (isRgbw()) c = autoWhiteCalc(c); if (_cct >= 1900) c = colorBalanceFromKelvin(_cct, c); //color correction from CCT - c = autoWhiteCalc(c); uint16_t offset = pix * _UDPchannels; _data[offset] = R(c); _data[offset+1] = G(c);