targets/plc_common_main.c
changeset 518 8e61b0066859
parent 446 1edde533db19
child 568 20a223828a06
equal deleted inserted replaced
517:6da1617a7645 518:8e61b0066859
    82     __cleanup_debug();
    82     __cleanup_debug();
    83 }
    83 }
    84 
    84 
    85 
    85 
    86 void PLC_GetTime(IEC_TIME *CURRENT_TIME);
    86 void PLC_GetTime(IEC_TIME *CURRENT_TIME);
    87 void PLC_SetTimer(long long next, long long period);
    87 void PLC_SetTimer(unsigned long long next, unsigned long long period);
    88 
    88 
    89 #define CALIBRATED -2
    89 #define CALIBRATED -2
    90 #define NOT_CALIBRATED -1
    90 #define NOT_CALIBRATED -1
    91 static int calibration_count = NOT_CALIBRATED;
    91 static int calibration_count = NOT_CALIBRATED;
    92 static IEC_TIME cal_begin;
    92 static IEC_TIME cal_begin;