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

fix #2565 by inverting the grb2hsv argcheck condition #3076

Merged
merged 1 commit into from
Apr 26, 2020

Conversation

Firenox89
Copy link
Contributor

Fixes #2565.

Make sure all boxes are checked (add x inside the brackets) when you submit your contribution, remove this sentence before doing so.

  • This PR is for the dev branch rather than for master.
  • This PR is compliant with the other contributing guidelines as well (if not, please describe why).
  • I have thoroughly tested my contribution.
  • [] The code changes are reflected in the documentation at docs/*.

The arg check condition for color_utils.grb2hsv(), which was intended to protect against greyscale values, did opposite by only allowing greyscale values.

After inverting check condition, I was able to use the function.

@marcelstoer marcelstoer added this to the Next release milestone Apr 26, 2020
@marcelstoer
Copy link
Member

@HHHartmann I took the liberty of adding you as a reviewer as you the had the issue self-assigned back then.

Copy link
Member

@HHHartmann HHHartmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect to me.

Copy link
Member

@HHHartmann HHHartmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks perfect to me.

@nwf nwf merged commit e627249 into nodemcu:dev Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants