Searched refs:temp_c (Results 1 – 1 of 1) sorted by relevance
258 int32_t temp_c = ((RawWithGain(raw - cal1.get_adc_offset(), gain) - vts_with_gain) * 5) / 6; in RawToTemperature() local260 temp_c = cal0.temp_offset() - ((temp_c * 100) / (165 + (cal1.id() == 0 ? 0 : slope))); in RawToTemperature()261 return temp_c + kKelvinOffset; in RawToTemperature()
Completed in 3 milliseconds