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:
		@@ -1136,7 +1136,7 @@ void heatMap(CRGBPalette16 palette, bool up)
 | 
			
		||||
  random16_add_entropy(random(256));
 | 
			
		||||
 | 
			
		||||
  // Array of temperature readings at each simulation cell
 | 
			
		||||
  static byte heat[256];
 | 
			
		||||
  static byte heat[NUM_LEDS];
 | 
			
		||||
 | 
			
		||||
  byte colorindex;
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user