equal
deleted
inserted
replaced
47 return 0; |
47 return 0; |
48 } |
48 } |
49 |
49 |
50 extern unsigned long __tick; |
50 extern unsigned long __tick; |
51 /* from plc_debugger.c */ |
51 /* from plc_debugger.c */ |
52 int WaitDebugData(void) |
52 int WaitDebugData(unsigned long *tick) |
53 { |
53 { |
|
54 *tick = __tick; |
54 return 0; |
55 return 0; |
55 } |
56 } |
56 |
57 |
57 /* Called by PLC thread when debug_publish finished |
58 /* Called by PLC thread when debug_publish finished |
58 * This is supposed to unlock debugger thread in WaitDebugData*/ |
59 * This is supposed to unlock debugger thread in WaitDebugData*/ |