Skip to content
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

Change declared order in which red and green on ws2812 color's definition #47

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

akari-tun
Copy link

@akari-tun akari-tun commented Mar 12, 2019

I found that in FAILSAFE mode, the LED did not flash red. Looking at the code, I found that the red and green colors in hal_ws2812_color_s were incorrect for the parameters passed in the HAL_WS2812_RGB definition.I don't know if this was a BUG or was intentional, but after I changed the order, the LED was flashing the correct red in FAILSAFE mode.

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.

None yet

1 participant