Skip to content

Commit

Permalink
Fixed TwinkleFOX patterns causing resets
Browse files Browse the repository at this point in the history
  • Loading branch information
jasoncoon authored Apr 1, 2018
1 parent c171715 commit 273cf2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwinkleFOX.h
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ void drawTwinkles()

uint8_t backgroundBrightness = bg.getAverageLight();

for(uint8_t i = 0; i < NUM_LEDS; i++) {
for(uint16_t i = 0; i < NUM_LEDS; i++) {
CRGB& pixel = leds[i];

PRNG16 = (uint16_t)(PRNG16 * 2053) + 1384; // next 'random' number
Expand Down

0 comments on commit 273cf2c

Please sign in to comment.