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);

View File

@ -100,9 +100,10 @@ namespace OpenHardwareMonitor.Hardware.ATI {
report.AppendLine(adapterInfo[i].FunctionNumber.ToString(
CultureInfo.InvariantCulture));
report.Append("AdapterID: 0x");
report.AppendLine(adapterID.ToString("X", CultureInfo.InvariantCulture));
report.AppendLine(adapterID.ToString("X",
CultureInfo.InvariantCulture));
if (adapterID != 0 && !string.IsNullOrEmpty(adapterInfo[i].UDID) &&
if (!string.IsNullOrEmpty(adapterInfo[i].UDID) &&
(adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID1 ||
adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) {
bool found = false;

View File

@ -37,5 +37,5 @@
using System.Reflection;
[assembly: AssemblyVersion("0.2.1.17")]
[assembly: AssemblyInformationalVersion("0.2.1.17 Alpha")]
[assembly: AssemblyVersion("0.2.1.18")]
[assembly: AssemblyInformationalVersion("0.2.1.18 Alpha")]