Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sensor values mix up when using multiple sensors
When using 2 (or more) sensors on the same device the sensor values read from the sensors can get mixed up. The struct sense is defined as a global and is reused from multiple instances of the MAX30105 class. Solution: Declare sense as class private:
- Loading branch information