targets/Makefile/plc_Makefile_main.c
changeset 452 2d0718a05cc7
parent 425 f390e9fdd2cf
equal deleted inserted replaced
451:73b3913b6d9c 452:2d0718a05cc7
    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*/