From 452fdf6b7875f8185960f9b1649ba3d8fad4ab24 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Mon, 2 Jul 2007 20:59:26 +0000 Subject: set voltage before send diseqc command (like DiSEqC spec) --- lib/python/Components/NimManager.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/python/Components') 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 -- cgit v1.2.3