Skip to content

Commit f3d3405

Browse files
authored
Merge pull request #3044 from FoamyGuy/fix_sparkle_mini_warning
fix for sparkle motion mini warning
2 parents d2f16f8 + fedcf13 commit f3d3405

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

Sparkle_Motion_Examples/Arduino_Sparkle_Motion_Multi_NeoPixels/.feather_esp32_v2.test.only

Whitespace-only changes.

Sparkle_Motion_Examples/Arduino_Sparkle_Motion_Multi_NeoPixels/Arduino_Sparkle_Motion_Multi_NeoPixels.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ uint16_t pixelHue_2 = 256;
2323

2424
void loop() {
2525
pixelHue_1 += 256;
26-
for(int i=0; i<STRIP_1.numPixels(); i++) {
26+
for(uint i=0; i<STRIP_1.numPixels(); i++) {
2727
int hue_1 = pixelHue_1 + (i * 65536L / STRIP_1.numPixels());
2828
STRIP_1.setPixelColor(i, STRIP_1.gamma32(STRIP_1.ColorHSV(hue_1)));
2929
}

Sparkle_Motion_Mini_Examples/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels/.feather_esp32_v2.test.only

Whitespace-only changes.

Sparkle_Motion_Mini_Examples/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels/Arduino_Sparkle_Motion_Mini_Multi_NeoPixels.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ uint16_t pixelHue_2 = 256;
2323

2424
void loop() {
2525
pixelHue_1 += 256;
26-
for(int i=0; i<STRIP_1.numPixels(); i++) {
26+
for(uint i=0; i<STRIP_1.numPixels(); i++) {
2727
int hue_1 = pixelHue_1 + (i * 65536L / STRIP_1.numPixels());
2828
STRIP_1.setPixelColor(i, STRIP_1.gamma32(STRIP_1.ColorHSV(hue_1)));
2929
}

0 commit comments

Comments
 (0)