Skip to content

available() should use signed integer #12

Closed
@WayneKeenan

Description

@WayneKeenan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions