Closed lucadonini96 closed 4 years ago
In MLX90393.cpp, line 409
In the method convDelayMillis(), the digital filtering parameter is fetched incorrectly: const uint8_t dig_flt = (cache.reg[DIG_FLT_MASK] & DIG_FLT_MASK) >> DIG_FLT_SHIFT; should read const uint8_t dig_flt = (cache.reg[DIG_FLT_REG] & DIG_FLT_MASK) >> DIG_FLT_SHIFT;
convDelayMillis()
const uint8_t dig_flt = (cache.reg[DIG_FLT_MASK] & DIG_FLT_MASK) >> DIG_FLT_SHIFT;
const uint8_t dig_flt = (cache.reg[DIG_FLT_REG] & DIG_FLT_MASK) >> DIG_FLT_SHIFT;
thank you!
fixed by 4b044b532be969a4464e58fa488459d97248596d
In MLX90393.cpp, line 409
In the method
convDelayMillis()
, the digital filtering parameter is fetched incorrectly:const uint8_t dig_flt = (cache.reg[DIG_FLT_MASK] & DIG_FLT_MASK) >> DIG_FLT_SHIFT;
should readconst uint8_t dig_flt = (cache.reg[DIG_FLT_REG] & DIG_FLT_MASK) >> DIG_FLT_SHIFT;