diff -r 523c19d10a86 -r 3f2d9ebacf38 Hardware/LPC/LMSensors.cs --- a/Hardware/LPC/LMSensors.cs Mon Aug 29 18:41:06 2011 +0000 +++ b/Hardware/LPC/LMSensors.cs Wed Aug 31 22:48:49 2011 +0000 @@ -116,6 +116,7 @@ private readonly float?[] voltages; private readonly float?[] temperatures; private readonly float?[] fans; + private readonly float?[] controls; private readonly FileStream[] voltageStreams; private readonly FileStream[] temperatureStreams; @@ -125,7 +126,7 @@ public float?[] Voltages { get { return voltages; } } public float?[] Temperatures { get { return temperatures; } } public float?[] Fans { get { return fans; } } - + public float?[] Controls { get { return controls; } } public LMChip(Chip chip, string path) { this.path = path; @@ -151,6 +152,8 @@ for (int i = 0; i < fanPaths.Length; i++) fanStreams[i] = new FileStream(fanPaths[i], FileMode.Open, FileAccess.Read, FileShare.ReadWrite); + + this.controls = new float?[0]; } public byte? ReadGPIO(int index) { @@ -163,6 +166,8 @@ return null; } + public void SetControl(int index, byte? value) { } + private string ReadFirstLine(Stream stream) { StringBuilder sb = new StringBuilder(); try {