Ignore white component on WS2815 power calculation

This commit is contained in:
Max Hedge 2020-01-13 17:18:21 +00:00
parent 8055243909
commit 4c16efbbf7

View File

@ -229,7 +229,8 @@ void WS2812FX::show(void) {
if(useWackyWS2815PowerModel) if(useWackyWS2815PowerModel)
{ {
powerSum += (max(max(max(c.R,c.G),c.B),c.W)) * 3; // ignore white component on WS2815 power calculation
powerSum += (max(max(c.R,c.G),c.B)) * 3;
} }
else else
{ {