beremiz

2c786431fe72
Parents 77e23bf04c33
Children 8106a853a7c7
Bug on return debug tick test fixed
--- 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()