Hardware/HDD/AbstractHarddrive.cs
changeset 340 600962f8a298
parent 339 07a6126a4796
child 344 3145aadca3d2
     1.1 --- a/Hardware/HDD/AbstractHarddrive.cs	Mon Feb 13 21:56:29 2012 +0000
     1.2 +++ b/Hardware/HDD/AbstractHarddrive.cs	Tue Feb 14 23:07:55 2012 +0000
     1.3 @@ -179,8 +179,8 @@
     1.4  
     1.5          if (!sensorTypeAndChannels.Contains(pair)) {
     1.6            Sensor sensor = new Sensor(attribute.Name, 
     1.7 -            attribute.SensorChannel, attribute.SensorType.Value, this, 
     1.8 -            settings);
     1.9 +            attribute.SensorChannel, attribute.DefaultHiddenSensor, 
    1.10 +            attribute.SensorType.Value, this, null, settings);
    1.11  
    1.12            sensors.Add(attribute, sensor);
    1.13            ActivateSensor(sensor);