aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-09-06 12:42:43 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-09-06 12:42:43 +0000
commit17d3a96180031686d9709182bd4152efb66ea253 (patch)
tree4f8344ba0eb653035233a3327e60e0db59c20b4c /lib/python/Components
parent911fcb5e5e2bcdeeb8bde259c4fbe7827aa72bf1 (diff)
downloadenigma2-17d3a96180031686d9709182bd4152efb66ea253.tar.gz
enigma2-17d3a96180031686d9709182bd4152efb66ea253.zip
use correct voltage/tone settings
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/NimManager.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index bf718fd0..f8571ea6 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -364,8 +364,11 @@ class SecConfigure:
# finally add the orbital positions
for y in lnbSat[x]:
self.addSatellite(sec, y)
- currSat = config.Nims[slotid].advanced.sat[y]
-
+ if x > 32:
+ satpos = x > 32 and (3604-(36 - x)) or y
+ else:
+ satpos = y
+ currSat = config.Nims[slotid].advanced.sat[satpos]
if currSat.voltage.value == "polarization":
sec.setVoltageMode(switchParam.HV)
elif currSat.voltage.value == "13V":