diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-13 13:32:15 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-11-13 13:32:15 +0100 |
| commit | 58163e18dce8d07d32500c8b24e616518e40710b (patch) | |
| tree | e8aa0355115a1ac3eb66b98c4aa295fc6891e0f2 /lib/python/Components/NimManager.py | |
| parent | 549ebaf137cabfbe9b9c3c346011c7d6241e7655 (diff) | |
| download | enigma2-58163e18dce8d07d32500c8b24e616518e40710b.tar.gz enigma2-58163e18dce8d07d32500c8b24e616518e40710b.zip | |
add possibility to change delay after diseqc reset command and delay after diseqc peripherial poweron command via satellite equipment control plugin
Diffstat (limited to 'lib/python/Components/NimManager.py')
| -rw-r--r-- | lib/python/Components/NimManager.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python/Components/NimManager.py b/lib/python/Components/NimManager.py index 7060168e..f4e91083 100644 --- a/lib/python/Components/NimManager.py +++ b/lib/python/Components/NimManager.py @@ -858,6 +858,14 @@ def InitSecParams(): x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_COMMAND_RETRIES, configElement.value)) config.sec.motor_command_retries = x + x = ConfigInteger(default=50, limits = (0, 9999)) + x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_DISEQC_RESET_CMD, configElement.value)) + config.sec.delay_after_diseqc_reset_cmd = x + + x = ConfigInteger(default=150, limits = (0, 9999)) + x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_DISEQC_PERIPHERIAL_POWERON_CMD, configElement.value)) + config.sec.delay_after_diseqc_peripherial_poweron_cmd = 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 |
