InitThermal: Fix the minimum limit temperature (issue #54)

This commit is contained in:
CyrIng
2018-11-19 07:01:26 +01:00
parent 90ca7bfbbe
commit d106c6ed42

View File

@@ -2843,7 +2843,7 @@ void InitThermal(SHM_STRUCT *Shm, PROC *Proc, CORE **Core, unsigned int cpu)
Core[cpu]->PowerThermal.Param,
Core[cpu]->PowerThermal.Sensor);
} else {
Shm->Cpu[cpu].PowerThermal.Limit[0] = 0;
Shm->Cpu[cpu].PowerThermal.Limit[0]=Core[cpu]->PowerThermal.Param.Target;
}
break;
case THERMAL_FORMULA_NONE: