diff options
Diffstat (limited to 'test-cli/test/helpers/plc.py')
-rw-r--r-- | test-cli/test/helpers/plc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test-cli/test/helpers/plc.py b/test-cli/test/helpers/plc.py index b1ec382..c9ef774 100644 --- a/test-cli/test/helpers/plc.py +++ b/test-cli/test/helpers/plc.py @@ -36,7 +36,7 @@ class dcpPLC(object): def setPLCReset(self): self.__nRest = gpio('75', 'out', '0') self.__nRest = gpio('69', 'out', '0') - time.sleep(0.25) + time.sleep(1) self.__nRest = gpio('69', 'out', '1') self.__nRest = gpio('75', 'out', '1') @@ -58,7 +58,7 @@ class dcpPLC(object): return False, "set var failed {} {}".format(var,Error.exit_code) return True, '' - def set_plc2 (self, var1, value1,var2, value2, password): + def set_plc2 (self, var1, value1, var2, value2, password): try: res = self.__myConfigTool("-o", "SET", "-p", "{}={}".format(var1, value1), "-p", "{}={}".format(var2, value2), "-w", "{}".format(password)) print(res) |