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

Fixed Color::Init https://github.com/electro-smith/libDaisy/issues/595 #596

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

Anstapen
Copy link
Contributor

Hi,
as suggested by takumi-ogata in Issue #595, here is my PR for the little Bugfix of the Color::Init() function:

I changed the following line:
green_ = clamp(red, 0.0f, 1.0f);
to
green_ = clamp(green, 0.0f, 1.0f);

I tested it with a Daisy Pod.

@stephenhensley
Copy link
Collaborator

We appreciate the contribution!
Thanks for finding, and fixing this!

Bug squashed 🐛!

@stephenhensley stephenhensley merged commit 4bb0f8a into electro-smith:master Nov 27, 2023
4 checks passed
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

2 participants