sparkfun/SparkFun_MAX3010x_Sensor_Library

Add parenthesis in logic expresion

franciscotimez opened this issue · 0 comments

if ((IR_AC_Max - IR_AC_Min) > 20 & (IR_AC_Max - IR_AC_Min) < 1000)

Replace for "if (((IR_AC_Max - IR_AC_Min) > 20) & ((IR_AC_Max - IR_AC_Min) < 1000))"