We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f373044 commit d856749Copy full SHA for d856749
1 file changed
wled00/FX.cpp
@@ -9744,7 +9744,7 @@ uint16_t mode_particleimpact(void) {
9744
PartSys->setBounceY(true); // always use ground bounce
9745
PartSys->setWallRoughness(220); // high roughness
9746
numMeteors = min(PartSys->numSources, (uint32_t)NUMBEROFSOURCES);
9747
- for (i = 0; i < numMeteors; i++) {
+ for (uint32_t i = 0; i < numMeteors; i++) {
9748
PartSys->sources[i].source.ttl = hw_random16(10 * i); // set initial delay for meteors
9749
PartSys->sources[i].source.vy = 10; // at positive speeds, no particles are emitted and if particle dies, it will be relaunched
9750
}
0 commit comments