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 bf718fd038d96274feeb4fa030f4a647f23acdb8..f8571ea6f613642ad3ae1e641caed5be4844c99c 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":