Changed the super I/O fan control: Fan controls are now always displayed, even if the value is null (as for example for ITE 87XX chips in automatic mode.
authormoel.mich
Sun, 04 Nov 2012 13:10:53 +0000
changeset 38993cee0b9f619
parent 388 c25816e366bd
child 390 88d699a65cc2
Changed the super I/O fan control: Fan controls are now always displayed, even if the value is null (as for example for ITE 87XX chips in automatic mode.
Hardware/Mainboard/SuperIOHardware.cs
Properties/AssemblyVersion.cs
     1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Sat Nov 03 17:58:55 2012 +0000
     1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Sun Nov 04 13:10:53 2012 +0000
     1.3 @@ -1213,6 +1213,7 @@
     1.4              superIO.SetControl(index, (byte)(control.SoftwareValue * 2.55));
     1.5            sensor.Control = control;
     1.6            controls.Add(sensor);
     1.7 +          ActivateSensor(sensor);
     1.8          }
     1.9        }
    1.10      }
    1.11 @@ -1261,10 +1262,7 @@
    1.12  
    1.13        foreach (Sensor sensor in controls) {
    1.14          float? value = readControl(sensor.Index);
    1.15 -        if (value.HasValue) {
    1.16 -          sensor.Value = value;
    1.17 -          ActivateSensor(sensor);
    1.18 -        }
    1.19 +        sensor.Value = value;                
    1.20        }
    1.21  
    1.22        postUpdate();
     2.1 --- a/Properties/AssemblyVersion.cs	Sat Nov 03 17:58:55 2012 +0000
     2.2 +++ b/Properties/AssemblyVersion.cs	Sun Nov 04 13:10:53 2012 +0000
     2.3 @@ -10,5 +10,5 @@
     2.4  
     2.5  using System.Reflection;
     2.6  
     2.7 -[assembly: AssemblyVersion("0.5.1.8")]
     2.8 -[assembly: AssemblyInformationalVersion("0.5.1.8 Alpha")]
     2.9 \ No newline at end of file
    2.10 +[assembly: AssemblyVersion("0.5.1.9")]
    2.11 +[assembly: AssemblyInformationalVersion("0.5.1.9 Alpha")]
    2.12 \ No newline at end of file