Issue #88: Fire and water with more than 256 leds

Fixed #88 - Fire and water effect fails with more than 256 leds, thanks to @vkiisler
This commit is contained in:
Jason Coon 2018-11-07 18:03:12 -06:00 committed by GitHub
parent cdb02c9bbf
commit e2d546bf8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1136,7 +1136,7 @@ void heatMap(CRGBPalette16 palette, bool up)
random16_add_entropy(random(256)); random16_add_entropy(random(256));
// Array of temperature readings at each simulation cell // Array of temperature readings at each simulation cell
static byte heat[256]; static byte heat[NUM_LEDS];
byte colorindex; byte colorindex;