Fixed Issue 111.
authormoel.mich
Fri, 15 Apr 2011 23:52:07 +0000
changeset 270ef89cbe45b7c
parent 269 38cd90779aad
child 271 8635fa73eacc
Fixed Issue 111.
Hardware/ATI/ATIGPU.cs
Hardware/ATI/ATIGroup.cs
Properties/AssemblyVersion.cs
     1.1 --- a/Hardware/ATI/ATIGPU.cs	Mon Apr 11 22:38:39 2011 +0000
     1.2 +++ b/Hardware/ATI/ATIGPU.cs	Fri Apr 15 23:52:07 2011 +0000
     1.3 @@ -187,16 +187,22 @@
     1.4          if (adlp.EngineClock > 0) {
     1.5            coreClock.Value = 0.01f * adlp.EngineClock;
     1.6            ActivateSensor(coreClock);
     1.7 +        } else {
     1.8 +          coreClock.Value = null;
     1.9          }
    1.10  
    1.11          if (adlp.MemoryClock > 0) {
    1.12            memoryClock.Value = 0.01f * adlp.MemoryClock;
    1.13            ActivateSensor(memoryClock);
    1.14 +        } else {
    1.15 +          memoryClock.Value = null;
    1.16          }
    1.17  
    1.18          if (adlp.Vddc > 0) {
    1.19            coreVoltage.Value = 0.001f * adlp.Vddc;
    1.20            ActivateSensor(coreVoltage);
    1.21 +        } else {
    1.22 +          coreVoltage.Value = null;
    1.23          }
    1.24  
    1.25          coreLoad.Value = Math.Min(adlp.ActivityPercent, 100);                        
     2.1 --- a/Hardware/ATI/ATIGroup.cs	Mon Apr 11 22:38:39 2011 +0000
     2.2 +++ b/Hardware/ATI/ATIGroup.cs	Fri Apr 15 23:52:07 2011 +0000
     2.3 @@ -100,9 +100,10 @@
     2.4                  report.AppendLine(adapterInfo[i].FunctionNumber.ToString(
     2.5                    CultureInfo.InvariantCulture));
     2.6                  report.Append("AdapterID: 0x");
     2.7 -                report.AppendLine(adapterID.ToString("X", CultureInfo.InvariantCulture));
     2.8 +                report.AppendLine(adapterID.ToString("X", 
     2.9 +                  CultureInfo.InvariantCulture));
    2.10  
    2.11 -                if (adapterID != 0 && !string.IsNullOrEmpty(adapterInfo[i].UDID) &&
    2.12 +                if (!string.IsNullOrEmpty(adapterInfo[i].UDID) &&
    2.13                    (adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID1 ||
    2.14                     adapterInfo[i].VendorID == ADL.ATI_VENDOR_ID2)) {
    2.15                    bool found = false;
     3.1 --- a/Properties/AssemblyVersion.cs	Mon Apr 11 22:38:39 2011 +0000
     3.2 +++ b/Properties/AssemblyVersion.cs	Fri Apr 15 23:52:07 2011 +0000
     3.3 @@ -37,5 +37,5 @@
     3.4  
     3.5  using System.Reflection;
     3.6  
     3.7 -[assembly: AssemblyVersion("0.2.1.17")]
     3.8 -[assembly: AssemblyInformationalVersion("0.2.1.17 Alpha")]
     3.9 \ No newline at end of file
    3.10 +[assembly: AssemblyVersion("0.2.1.18")]
    3.11 +[assembly: AssemblyInformationalVersion("0.2.1.18 Alpha")]
    3.12 \ No newline at end of file