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