one motor command retrie should be enough (in normal case no retrie is
[enigma2.git] / lib / python / Components / NimManager.py
index d6d9d7869a2c25edf4394e5c84b61e00a0d8f85b..04ea2889203ae3f02190b0b358da80b7132d93ca 100644 (file)
@@ -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()