Refactored isRgbw to hasWhiteChannel()

This commit is contained in:
cschwinne
2022-02-04 13:28:00 +01:00
parent 04d5932252
commit 97f8eea302
9 changed files with 36 additions and 32 deletions

View File

@@ -414,7 +414,7 @@ void deEEP() {
JsonArray colarr = segObj.createNestedArray("col");
byte numChannels = (strip.isRgbw)? 4:3;
byte numChannels = (strip.hasWhiteChannel())? 4:3;
for (uint8_t k = 0; k < 3; k++) //k=0 primary (i+2) k=1 secondary (i+6) k=2 tertiary color (i+12)
{