aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/NimManager.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-02 20:59:26 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-07-02 20:59:26 +0000
commit452fdf6b7875f8185960f9b1649ba3d8fad4ab24 (patch)
tree65b287466e3d836abefd6f529a25131eee18cd86 /lib/python/Components/NimManager.py
parent95660a5ccae9effbbf10a9b5ca4c85d636f8923b (diff)
downloadenigma2-452fdf6b7875f8185960f9b1649ba3d8fad4ab24.tar.gz
enigma2-452fdf6b7875f8185960f9b1649ba3d8fad4ab24.zip
set voltage before send diseqc command (like DiSEqC spec)
Diffstat (limited to 'lib/python/Components/NimManager.py')
-rw-r--r--lib/python/Components/NimManager.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py
index d69f7b8f..d1b90c62 100644
--- a/lib/python/Components/NimManager.py
+++ b/lib/python/Components/NimManager.py
@@ -730,6 +730,10 @@ def InitSecParams():
x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_COMMAND_RETRIES, configElement.value))
config.sec.motor_command_retries = x
+ x = ConfigInteger(default=20, limits = (0, 9999))
+ x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_VOLTAGE_CHANGE_BEFORE_SWITCH_CMDS, configElement.value))
+ config.sec.delay_after_change_voltage_before_switch_command = x
+
# TODO add support for satpos depending nims to advanced nim configuration
# so a second/third/fourth cable from a motorized lnb can used behind a
# diseqc 1.0 / diseqc 1.1 / toneburst switch