Added CRGB variant for setPixelColor()

This commit is contained in:
Blaz Kristan 2022-05-09 11:11:25 +02:00
parent b2409ac708
commit d6883d0c1c

View File

@ -655,6 +655,7 @@ class WS2812FX {
deserializeMap(uint8_t n=0);
inline void setPixelColor(uint16_t n, uint32_t c) {setPixelColor(n, byte(c>>16), byte(c>>8), byte(c), byte(c>>24));}
inline void setPixelColor(uint16_t n, CRGB &c) {setPixelColor(n, c.red, c.green, c.blue);}
bool
gammaCorrectBri = false,