From 17d3a96180031686d9709182bd4152efb66ea253 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 6 Sep 2008 12:42:43 +0000 Subject: [PATCH] use correct voltage/tone settings --- lib/python/Components/NimManager.py | 7 +++++-- 1 file 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": -- 2.30.2