Skip to content

Commit

Permalink
added fix to Stream 2 as well
Browse files Browse the repository at this point in the history
  • Loading branch information
DedeHai committed Feb 8, 2025
1 parent eaf0ae3 commit 1d41756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/FX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1768,7 +1768,7 @@ uint16_t mode_random_chase(void) {
uint32_t color = SEGENV.step;
random16_set_seed(SEGENV.aux0);

for (unsigned i = SEGLEN -1; i > 0; i--) {
for (int i = SEGLEN -1; i >= 0; i--) {
uint8_t r = random8(6) != 0 ? (color >> 16 & 0xFF) : random8();
uint8_t g = random8(6) != 0 ? (color >> 8 & 0xFF) : random8();
uint8_t b = random8(6) != 0 ? (color & 0xFF) : random8();
Expand Down

0 comments on commit 1d41756

Please sign in to comment.