Searched refs:calc_hum (Results 1 – 1 of 1) sorted by relevance
404 s32 var1, var2, var3, var4, var5, var6, temp_scaled, calc_hum; in bme680_compensate_humid() local418 calc_hum = (((var3 + var6) >> 10) * 1000) >> 12; in bme680_compensate_humid()420 calc_hum = clamp(calc_hum, 0, 100000); /* clamp between 0-100 %rH */ in bme680_compensate_humid()422 return calc_hum; in bme680_compensate_humid()