Skip to content

fix for sparkle motion mini warning #3044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

FoamyGuy
Copy link
Collaborator

@FoamyGuy FoamyGuy commented May 29, 2025

I believe this change should resolve this actions failure resulting from a warning about comparing signed with unsigned types: https://github.com/adafruit/Adafruit_Learning_System_Guides/actions/runs/15316694255/job/43091814706#step:7:902

The issue boils down to Adafruit_Neopixel.numPixels() returning an unsigned value, but int i = 0 from the loop variable being signed.

I tested the modified version successfully on the sparkle motion mini with two 1x8 NeoPixel strips.

@FoamyGuy
Copy link
Collaborator Author

The new commit has the same fix for the big sparkle motion, I also tested the updated code on that hardware successfully.

I'm unclear about why the GH actions seem to flag this as a failure under gemma and put the X next to Starduino_8bit_Super_Mario_Tree_Topper.ino. It seems like maybe the thing coming after the warning failure ends up being flagged as the failing task instead of the one that caused the warning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant