sparkfun/SparkFun_MAX3010x_Sensor_Library

available() should use signed integer

WayneKeenan opened this issue · 2 comments

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

You are very right! Thank you.

Will be fixed in the latest release.