We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd1c06a commit 30435e6Copy full SHA for 30435e6
1 file changed
wled00/FX.h
@@ -635,6 +635,7 @@ typedef struct Segment {
635
#else
636
inline uint16_t XY(uint16_t x, uint16_t y) { return x; }
637
inline void setPixelColorXY(int x, int y, uint32_t c) { setPixelColor(x, c); }
638
+ inline void setPixelColorXY(unsigned x, unsigned y, uint32_t c) { setPixelColor(int(x), c); }
639
inline void setPixelColorXY(int x, int y, byte r, byte g, byte b, byte w = 0) { setPixelColor(x, RGBW32(r,g,b,w)); }
640
inline void setPixelColorXY(int x, int y, CRGB c) { setPixelColor(x, RGBW32(c.r,c.g,c.b,0)); }
641
inline void setPixelColorXY(float x, float y, uint32_t c, bool aa = true) { setPixelColor(x, c, aa); }
0 commit comments