From ab5b6f9b7dd36f4ec865caaea5eb896df12d4a21 Mon Sep 17 00:00:00 2001 From: Damian Schneider Date: Thu, 24 Jul 2025 18:30:51 +0200 Subject: [PATCH] fix change that got lost --- wled00/FX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wled00/FX.cpp b/wled00/FX.cpp index 6fafbaafd..a680de64d 100644 --- a/wled00/FX.cpp +++ b/wled00/FX.cpp @@ -8494,7 +8494,7 @@ uint16_t mode_particleimpact(void) { PartSys->setBounceY(true); // always use ground bounce PartSys->setWallRoughness(220); // high roughness numMeteors = min(PartSys->numSources, (uint32_t)NUMBEROFSOURCES); - for (i = 0; i < numMeteors; i++) { + for (uint32_t i = 0; i < numMeteors; i++) { PartSys->sources[i].source.ttl = hw_random16(10 * i); // set initial delay for meteors PartSys->sources[i].source.vy = 10; // at positive speeds, no particles are emitted and if particle dies, it will be relaunched }