1.1 --- a/Hardware/LPC/F718XX.cs Mon Aug 29 18:41:06 2011 +0000
1.2 +++ b/Hardware/LPC/F718XX.cs Wed Aug 31 22:48:49 2011 +0000
1.3 @@ -16,7 +16,7 @@
1.4
1.5 The Initial Developer of the Original Code is
1.6 Michael Möller <m.moeller@gmx.ch>.
1.7 - Portions created by the Initial Developer are Copyright (C) 2009-2010
1.8 + Portions created by the Initial Developer are Copyright (C) 2009-2011
1.9 the Initial Developer. All Rights Reserved.
1.10
1.11 Contributor(s):
1.12 @@ -47,6 +47,7 @@
1.13 private readonly float?[] voltages;
1.14 private readonly float?[] temperatures;
1.15 private readonly float?[] fans;
1.16 + private readonly float?[] controls;
1.17
1.18 // Hardware Monitor
1.19 private const byte ADDRESS_REGISTER_OFFSET = 0x05;
1.20 @@ -71,6 +72,8 @@
1.21
1.22 public void WriteGPIO(int index, byte value) { }
1.23
1.24 + public void SetControl(int index, byte? value) { }
1.25 +
1.26 public F718XX(Chip chip, ushort address) {
1.27 this.address = address;
1.28 this.chip = chip;
1.29 @@ -78,12 +81,14 @@
1.30 voltages = new float?[chip == Chip.F71858 ? 3 : 9];
1.31 temperatures = new float?[3];
1.32 fans = new float?[chip == Chip.F71882 || chip == Chip.F71858? 4 : 3];
1.33 + controls = new float?[0];
1.34 }
1.35
1.36 public Chip Chip { get { return chip; } }
1.37 public float?[] Voltages { get { return voltages; } }
1.38 public float?[] Temperatures { get { return temperatures; } }
1.39 public float?[] Fans { get { return fans; } }
1.40 + public float?[] Controls { get { return controls; } }
1.41
1.42 public string GetReport() {
1.43 StringBuilder r = new StringBuilder();