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.

This commit is contained in:
Michael Möller
2012-11-04 13:10:53 +00:00
parent 1ccebc6850
commit eac9cc4d11
2 changed files with 4 additions and 6 deletions

View File

@@ -1213,6 +1213,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
superIO.SetControl(index, (byte)(control.SoftwareValue * 2.55));
sensor.Control = control;
controls.Add(sensor);
ActivateSensor(sensor);
}
}
}
@@ -1261,10 +1262,7 @@ namespace OpenHardwareMonitor.Hardware.Mainboard {
foreach (Sensor sensor in controls) {
float? value = readControl(sensor.Index);
if (value.HasValue) {
sensor.Value = value;
ActivateSensor(sensor);
}
sensor.Value = value;
}
postUpdate();

View File

@@ -10,5 +10,5 @@
using System.Reflection;
[assembly: AssemblyVersion("0.5.1.8")]
[assembly: AssemblyInformationalVersion("0.5.1.8 Alpha")]
[assembly: AssemblyVersion("0.5.1.9")]
[assembly: AssemblyInformationalVersion("0.5.1.9 Alpha")]