We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library/blob/master/src/heartRate.cpp#L108
In multiple places, this strange use of bitwise AND is used:
src/heartRate.cpp:108:33: warning: suggest parentheses around comparison in operand of '&' [-Wparentheses] if ((IR_AC_Max - IR_AC_Min) > 20 & (IR_AC_Max - IR_AC_Min) < 1000)
The text was updated successfully, but these errors were encountered:
Strange indeed. I believe it's a hold over from Maxim's PBA implementation. If you think it's worth fixing, a PR would be much appreciated.
Sorry, something went wrong.
No branches or pull requests
https://github.com/sparkfun/SparkFun_MAX3010x_Sensor_Library/blob/master/src/heartRate.cpp#L108
In multiple places, this strange use of bitwise AND is used:
The text was updated successfully, but these errors were encountered: