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 4fd1b39 commit ab5b6f9Copy full SHA for ab5b6f9
wled00/FX.cpp
@@ -8494,7 +8494,7 @@ uint16_t mode_particleimpact(void) {
8494
PartSys->setBounceY(true); // always use ground bounce
8495
PartSys->setWallRoughness(220); // high roughness
8496
numMeteors = min(PartSys->numSources, (uint32_t)NUMBEROFSOURCES);
8497
- for (i = 0; i < numMeteors; i++) {
+ for (uint32_t i = 0; i < numMeteors; i++) {
8498
PartSys->sources[i].source.ttl = hw_random16(10 * i); // set initial delay for meteors
8499
PartSys->sources[i].source.vy = 10; // at positive speeds, no particles are emitted and if particle dies, it will be relaunched
8500
}
0 commit comments