Audio palette always start with black - fixes use of palette with Fire effect
This commit is contained in:
@@ -520,7 +520,7 @@ CRGB getCRGBForBand(int x, uint8_t *fftResult, int pal) {
|
||||
CRGB value;
|
||||
CHSV hsv;
|
||||
if(pal == 71) { // bit hacky to use palette id here, but don't want to litter the code with lots of different methods. TODO: add enum for palette creation type
|
||||
if(x == 0) {
|
||||
if(x == 1) {
|
||||
value = CRGB(fftResult[10]/2, fftResult[4]/2, fftResult[0]/2);
|
||||
}
|
||||
else if(x == 255) {
|
||||
|
||||
Reference in New Issue
Block a user