Hardware/LPC/IT87XX.cs
changeset 341 5172a92c5c20
parent 323 3f2d9ebacf38
child 344 3145aadca3d2
     1.1 --- a/Hardware/LPC/IT87XX.cs	Tue Feb 14 23:07:55 2012 +0000
     1.2 +++ b/Hardware/LPC/IT87XX.cs	Thu Feb 16 22:10:30 2012 +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-2011
     1.8 +  Portions created by the Initial Developer are Copyright (C) 2009-2012
     1.9    the Initial Developer. All Rights Reserved.
    1.10  
    1.11    Contributor(s):
    1.12 @@ -102,7 +102,7 @@
    1.13          return;
    1.14  
    1.15        Ring0.WriteIoPort((ushort)(gpioAddress + index), value);
    1.16 -    }
    1.17 +    } 
    1.18  
    1.19      public void SetControl(int index, byte? value) { }   
    1.20  
    1.21 @@ -132,7 +132,8 @@
    1.22        fans = new float?[5];
    1.23  
    1.24        // IT8721F, IT8728F and IT8772E use a 12mV resultion ADC, all others 16mV
    1.25 -      if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8772E) 
    1.26 +      if (chip == Chip.IT8721F || chip == Chip.IT8728F || chip == Chip.IT8771E 
    1.27 +        || chip == Chip.IT8772E) 
    1.28        {
    1.29          voltageGain = 0.012f;
    1.30        } else {
    1.31 @@ -159,6 +160,7 @@
    1.32            gpioCount = 8;
    1.33            break;
    1.34          case Chip.IT8728F:
    1.35 +        case Chip.IT8771E:
    1.36          case Chip.IT8772E:
    1.37            gpioCount = 0;
    1.38            break;