aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sensors.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/Sensors.py
parent67858ed10ece500b2cf68dafb39886a0b873ec4c (diff)
downloadenigma2-710b3ea19993c9fc15e38a57101494eb962c606c.tar.gz
enigma2-710b3ea19993c9fc15e38a57101494eb962c606c.zip
support up to 8 fan/temp sensors
Diffstat (limited to 'lib/python/Components/Sensors.py')
-rw-r--r--lib/python/Components/Sensors.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/Components/Sensors.py b/lib/python/Components/Sensors.py
index 7f63455b..8898a030 100644
--- a/lib/python/Components/Sensors.py
+++ b/lib/python/Components/Sensors.py
@@ -67,6 +67,6 @@ class Sensors:
self.sensors_list.append((self.TYPE_TEMPERATURE, name, unit, "/proc/stb/sensors/%s" % dirname))
for fanid in range(fancontrol.getFanCount()):
if fancontrol.hasRPMSensor(fanid):
- self.sensors_list.append((self.TYPE_FAN_RPM, _("fan"), "rpm", fanid))
+ self.sensors_list.append((self.TYPE_FAN_RPM, _("Fan %d") % (fanid + 1), "rpm", fanid))
sensors = Sensors() \ No newline at end of file