mirror of
https://github.com/cyring/CoreFreq.git
synced 2025-07-23 20:20:40 +02:00
InitThermal: Fix the minimum limit temperature (issue #54)
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user