diff options
-rw-r--r-- | thermal/thermal-helper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/thermal/thermal-helper.cpp b/thermal/thermal-helper.cpp index 796da4e1..d8883a40 100644 --- a/thermal/thermal-helper.cpp +++ b/thermal/thermal-helper.cpp @@ -944,8 +944,8 @@ bool ThermalHelper::readThermalSensor(std::string_view sensor_name, float *temp, sensor_status.thermal_cached.temp = *temp; sensor_status.thermal_cached.timestamp = now; } - - thermal_stats_helper_.updateSensorTempStatsByThreshold(sensor_name, *temp); + auto real_temp = (*temp) * sensor_info.multiplier; + thermal_stats_helper_.updateSensorTempStatsByThreshold(sensor_name, real_temp); return true; } |