diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-07 17:05:08 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-07-07 17:05:08 +0000 |
| commit | eca375cca394a4f593cb45e8fa7534620b157aec (patch) | |
| tree | d477aa6a214a6304bfed8eb4ba5b708feb4ca993 /lib/python/Components/NimManager.py | |
| parent | 5b6e647533b58c18bdf5416c1cd87f6c9b07c21e (diff) | |
| download | enigma2-eca375cca394a4f593cb45e8fa7534620b157aec.tar.gz enigma2-eca375cca394a4f593cb45e8fa7534620b157aec.zip | |
dont send a diseqc switch command when simple rotor mode is used
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index d1b90c62..1ba676c9 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -33,7 +33,7 @@ def tryOpen(filename): return procFile class SecConfigure: - def addLNBSimple(self, sec, slotid, diseqcmode, toneburstmode = 0, diseqcpos = 0, orbpos = 0, longitude = 0, latitude = 0, loDirection = 0, laDirection = 0): + def addLNBSimple(self, sec, slotid, diseqcmode, toneburstmode = diseqcParam.NO, diseqcpos = diseqcParam.SENDNO, orbpos = 0, longitude = 0, latitude = 0, loDirection = 0, laDirection = 0): #simple defaults sec.addLNB() tunermask = 1 << slotid @@ -56,6 +56,7 @@ class SecConfigure: sec.setDiSEqCMode(diseqcmode) sec.setToneburst(toneburstmode) sec.setCommittedCommand(diseqcpos) + sec.setUncommittedCommand(0) # SENDNO #print "set orbpos to:" + str(orbpos) if 0 <= diseqcmode < 3: |
