Added a missing default case in the mainboard specific configuration selection. The missing default case prevented sensor data from getting displayed on unknown Asus mainboards with NCT6779D super I/O.
authormoel.mich
Wed, 18 Jul 2012 22:47:30 +0000
changeset 3681036b453f1f6
parent 367 45215572a774
child 369 5077ed7ddca8
Added a missing default case in the mainboard specific configuration selection. The missing default case prevented sensor data from getting displayed on unknown Asus mainboards with NCT6779D super I/O.
Hardware/Mainboard/SuperIOHardware.cs
Properties/AssemblyVersion.cs
     1.1 --- a/Hardware/Mainboard/SuperIOHardware.cs	Wed Jul 18 20:20:26 2012 +0000
     1.2 +++ b/Hardware/Mainboard/SuperIOHardware.cs	Wed Jul 18 22:47:30 2012 +0000
     1.3 @@ -1050,6 +1050,34 @@
     1.4                    c.Add(new Ctrl("Chassis Fan #2", 2));
     1.5                    c.Add(new Ctrl("Chassis Fan #3", 3));
     1.6                    break;
     1.7 +                default:
     1.8 +                  v.Add(new Voltage("CPU VCore", 0));
     1.9 +                  v.Add(new Voltage("Voltage #2", 1, true));
    1.10 +                  v.Add(new Voltage("AVCC", 2, 34, 34));
    1.11 +                  v.Add(new Voltage("3VCC", 3, 34, 34));
    1.12 +                  v.Add(new Voltage("Voltage #5", 4, true));
    1.13 +                  v.Add(new Voltage("Voltage #6", 5, true));
    1.14 +                  v.Add(new Voltage("Voltage #7", 6, true));
    1.15 +                  v.Add(new Voltage("3VSB", 7, 34, 34));
    1.16 +                  v.Add(new Voltage("VBAT", 8, 34, 34));
    1.17 +                  v.Add(new Voltage("VTT", 9));
    1.18 +                  v.Add(new Voltage("Voltage #11", 10, true));
    1.19 +                  v.Add(new Voltage("Voltage #12", 11, true));
    1.20 +                  v.Add(new Voltage("Voltage #13", 12, true));
    1.21 +                  v.Add(new Voltage("Voltage #14", 13, true));
    1.22 +                  v.Add(new Voltage("Voltage #15", 14, true));
    1.23 +                  t.Add(new Temperature("CPU Core", 0));
    1.24 +                  t.Add(new Temperature("Temperature #1", 1));
    1.25 +                  t.Add(new Temperature("Temperature #2", 2));
    1.26 +                  t.Add(new Temperature("Temperature #3", 3));
    1.27 +                  t.Add(new Temperature("Temperature #4", 4));
    1.28 +                  t.Add(new Temperature("Temperature #5", 5));
    1.29 +                  t.Add(new Temperature("Temperature #6", 6));
    1.30 +                  for (int i = 0; i < superIO.Fans.Length; i++)
    1.31 +                    f.Add(new Fan("Fan #" + (i + 1), i));
    1.32 +                  for (int i = 0; i < superIO.Controls.Length; i++)
    1.33 +                    c.Add(new Ctrl("Fan Control #" + (i + 1), i));
    1.34 +                  break;
    1.35                }
    1.36                break;
    1.37              default:
     2.1 --- a/Properties/AssemblyVersion.cs	Wed Jul 18 20:20:26 2012 +0000
     2.2 +++ b/Properties/AssemblyVersion.cs	Wed Jul 18 22:47:30 2012 +0000
     2.3 @@ -10,5 +10,5 @@
     2.4  
     2.5  using System.Reflection;
     2.6  
     2.7 -[assembly: AssemblyVersion("0.4.0.19")]
     2.8 -[assembly: AssemblyInformationalVersion("0.4.0.19 Alpha")]
     2.9 \ No newline at end of file
    2.10 +[assembly: AssemblyVersion("0.4.0.20")]
    2.11 +[assembly: AssemblyInformationalVersion("0.4.0.20 Alpha")]
    2.12 \ No newline at end of file