available() should use signed integer
WayneKeenan opened this issue · 2 comments
WayneKeenan commented
The uint8_t
on the line below should be an int8_t
otherwise the comparison after is never true and it has a side effect of the client processing bogus readings.
https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library/blob/master/src/MAX30105.cpp#L528
nseidle commented
You are very right! Thank you.
nseidle commented
Will be fixed in the latest release.