aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/FanControl.py
diff options
context:
space:
mode:
authorthedoc <thedoc@atom.(none)>2009-12-10 14:52:36 +0100
committerthedoc <thedoc@atom.(none)>2009-12-10 14:52:36 +0100
commit710b3ea19993c9fc15e38a57101494eb962c606c (patch)
tree93c940ef8e9f9e74890fb5a1f082c82d896c7de6 /lib/python/Components/FanControl.py
parent67858ed10ece500b2cf68dafb39886a0b873ec4c (diff)
downloadenigma2-710b3ea19993c9fc15e38a57101494eb962c606c.tar.gz
enigma2-710b3ea19993c9fc15e38a57101494eb962c606c.zip
support up to 8 fan/temp sensors
Diffstat (limited to 'lib/python/Components/FanControl.py')
-rw-r--r--lib/python/Components/FanControl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/FanControl.py b/lib/python/Components/FanControl.py
index d7986c25..7a402272 100644
--- a/lib/python/Components/FanControl.py
+++ b/lib/python/Components/FanControl.py
@@ -23,8 +23,8 @@ class FanControl:
default_vlt = self.getVoltage(fanid)
default_pwm = self.getPWM(fanid)
fan = ConfigSubsection()
- fan.vlt = ConfigSlider(default = default_vlt, increment = 10, limits = (0, 255))
- fan.pwm = ConfigSlider(default = default_vlt, increment = 10, limits = (0, 255))
+ fan.vlt = ConfigSlider(default = 16, increment = 5, limits = (0, 255))
+ fan.pwm = ConfigSlider(default = 0, increment = 5, limits = (0, 255))
fan.vlt.addNotifier(boundFunction(setVlt, self, fanid))
fan.pwm.addNotifier(boundFunction(setPWM, self, fanid))
config.fans.append(fan)