Skip to content

Commit

Permalink
Fixes first pixel not being set
Browse files Browse the repository at this point in the history
  • Loading branch information
DedeHai committed Feb 7, 2025
1 parent 8c71753 commit eaf0ae3
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 @@ -1134,7 +1134,7 @@ uint16_t mode_running_random(void) {

unsigned z = it % zoneSize;
bool nzone = (!z && it != SEGENV.aux1);
for (unsigned i=SEGLEN-1; i > 0; i--) {
for (int i=SEGLEN-1; i >= 0; i--) {
if (nzone || z >= zoneSize) {
unsigned lastrand = PRNG16 >> 8;
int16_t diff = 0;
Expand Down

0 comments on commit eaf0ae3

Please sign in to comment.