Fixed Issue 111.

This commit is contained in:
Michael Möller
2011-04-15 23:52:07 +00:00
parent ccbadd63cf
commit 0d80c84493
3 changed files with 11 additions and 4 deletions

View File

@@ -187,16 +187,22 @@ namespace OpenHardwareMonitor.Hardware.ATI {
if (adlp.EngineClock > 0) {
coreClock.Value = 0.01f * adlp.EngineClock;
ActivateSensor(coreClock);
} else {
coreClock.Value = null;
}
if (adlp.MemoryClock > 0) {
memoryClock.Value = 0.01f * adlp.MemoryClock;
ActivateSensor(memoryClock);
} else {
memoryClock.Value = null;
}
if (adlp.Vddc > 0) {
coreVoltage.Value = 0.001f * adlp.Vddc;
ActivateSensor(coreVoltage);
} else {
coreVoltage.Value = null;
}
coreLoad.Value = Math.Min(adlp.ActivityPercent, 100);