use correct voltage/tone settings
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 6 Sep 2008 12:42:43 +0000 (12:42 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Sat, 6 Sep 2008 12:42:43 +0000 (12:42 +0000)
lib/python/Components/NimManager.py

index bf718fd..f8571ea 100644 (file)
@@ -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":