mirror of
https://github.com/openhardwaremonitor/openhardwaremonitor
synced 2025-09-01 14:55:13 +00:00
Fixed Issue 111.
This commit is contained in:
@@ -187,16 +187,22 @@ namespace OpenHardwareMonitor.Hardware.ATI {
|
|||||||
if (adlp.EngineClock > 0) {
|
if (adlp.EngineClock > 0) {
|
||||||
coreClock.Value = 0.01f * adlp.EngineClock;
|
coreClock.Value = 0.01f * adlp.EngineClock;
|
||||||
ActivateSensor(coreClock);
|
ActivateSensor(coreClock);
|
||||||
|
} else {
|
||||||
|
coreClock.Value = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (adlp.MemoryClock > 0) {
|
if (adlp.MemoryClock > 0) {
|
||||||
memoryClock.Value = 0.01f * adlp.MemoryClock;
|
memoryClock.Value = 0.01f * adlp.MemoryClock;
|
||||||
ActivateSensor(memoryClock);
|
ActivateSensor(memoryClock);
|
||||||
|
} else {
|
||||||
|
memoryClock.Value = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (adlp.Vddc > 0) {
|
if (adlp.Vddc > 0) {
|
||||||
coreVoltage.Value = 0.001f * adlp.Vddc;
|
coreVoltage.Value = 0.001f * adlp.Vddc;
|
||||||
ActivateSensor(coreVoltage);
|
ActivateSensor(coreVoltage);
|
||||||
|
} else {
|
||||||
|
coreVoltage.Value = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
coreLoad.Value = Math.Min(adlp.ActivityPercent, 100);
|
coreLoad.Value = Math.Min(adlp.ActivityPercent, 100);
|
||||||
|
@@ -100,9 +100,10 @@ namespace OpenHardwareMonitor.Hardware.ATI {
|
|||||||
report.AppendLine(adapterInfo[i].FunctionNumber.ToString(
|
report.AppendLine(adapterInfo[i].FunctionNumber.ToString(
|
||||||
CultureInfo.InvariantCulture));
|
CultureInfo.InvariantCulture));
|
||||||
report.Append("AdapterID: 0x");
|
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_ID1 ||
|
||||||
adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) {
|
adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
|
@@ -37,5 +37,5 @@
|
|||||||
|
|
||||||
using System.Reflection;
|
using System.Reflection;
|
||||||
|
|
||||||
[assembly: AssemblyVersion("0.2.1.17")]
|
[assembly: AssemblyVersion("0.2.1.18")]
|
||||||
[assembly: AssemblyInformationalVersion("0.2.1.17 Alpha")]
|
[assembly: AssemblyInformationalVersion("0.2.1.18 Alpha")]
|
Reference in New Issue
Block a user