one motor command retrie should be enough (in normal case no retrie is
[enigma2.git] / lib / python / Components / NimManager.py
index c7e4750c9374ca1adb1d6a44f7b961089b552f95..04ea2889203ae3f02190b0b358da80b7132d93ca 100644 (file)
@@ -663,7 +663,7 @@ def InitSecParams():
        x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_TONEBURST, configElement.value))
        config.sec.delay_after_toneburst = x
 
-       x = ConfigInteger(default=200)
+       x = ConfigInteger(default=120)
        x.addNotifier(lambda configElement: secClass.setParam(secClass.DELAY_AFTER_ENABLE_VOLTAGE_BEFORE_SWITCH_CMDS, configElement.value))
        config.sec.delay_after_enable_voltage_before_switch_command = x
 
@@ -691,6 +691,11 @@ def InitSecParams():
        x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_RUNNING_TIMEOUT, configElement.value))
        config.sec.motor_running_timeout = x
 
+       x = ConfigInteger(default=1)
+       x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_COMMAND_RETRIES, configElement.value))
+       config.sec.motor_command_retries = x
+
+
 def InitNimManager(nimmgr):
        InitSecParams()