one motor command retrie should be enough (in normal case no retrie is
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 14 Feb 2007 11:32:43 +0000 (11:32 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Wed, 14 Feb 2007 11:32:43 +0000 (11:32 +0000)
needed)

lib/python/Components/NimManager.py

index 818a443..04ea288 100644 (file)
@@ -691,7 +691,7 @@ def InitSecParams():
        x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_RUNNING_TIMEOUT, configElement.value))
        config.sec.motor_running_timeout = x
 
        x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_RUNNING_TIMEOUT, configElement.value))
        config.sec.motor_running_timeout = x
 
-       x = ConfigInteger(default=2)
+       x = ConfigInteger(default=1)
        x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_COMMAND_RETRIES, configElement.value))
        config.sec.motor_command_retries = x
 
        x.addNotifier(lambda configElement: secClass.setParam(secClass.MOTOR_COMMAND_RETRIES, configElement.value))
        config.sec.motor_command_retries = x