beremiz
Clone
Summary
Browse
Changes
Graph
Bug on return debug tick test fixed
2009-09-24, laurent
2c786431fe72
Parents
77e23bf04c33
Children
8106a853a7c7
Bug on return debug tick test fixed
1 files changed, 2 insertions(+), 1 deletions(-)
+2
-1
runtime/PLCObject.py
--- a/runtime/PLCObject.py Thu Sep 24 18:22:31 2009 +0200
+++ b/runtime/PLCObject.py Thu Sep 24 18:26:11 2009 +0200
@@ -379,7 +379,8 @@
self.PLClibraryLock.acquire()
tick = self._WaitDebugData()
#PLCprint("Debug tick : %d"%tick)
- if tick == -1:
+ if tick == 2**32 - 1:
+ tick = -1
res = None
else:
idx = ctypes.c_int()