Skip to content

Conversation

TragicPancake
Copy link

I've been working on a project that uses this library and figured I could give back to the community by fixing this compiler warning. On line 347 the max function is used to set a lower limit, but the input data is of type byte. In the arduino environment byte equates to uint8_t and so can never be less than 0 and thus causes a compiler warning.

I've been working on a project that uses this library and figured I could give back to the community by fixing this compiler warning. On line 347 the max function is used to set a lower limit, but the input data is of type byte. In the arduino environment byte equates to uint8_t and so can never be less than 0 and thus causes a compiler warning.
@nseidle
Copy link
Member

nseidle commented Jun 7, 2021

Very good - thanks!

@nseidle nseidle merged commit 4b1fd6b into sparkfun:master Jun 7, 2021
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.

2 participants