diff -r d19af9341d28 -r 3f966bbb3fba targets/plc_main_head.c --- a/targets/plc_main_head.c Tue Mar 26 00:35:52 2013 +0100 +++ b/targets/plc_main_head.c Tue Mar 26 09:31:20 2013 +0900 @@ -2,7 +2,7 @@ * Head of code common to all C targets **/ -#include "iec_types.h" +#include "beremiz.h" /* * Prototypes of functions provided by generated C softPLC **/ @@ -28,8 +28,6 @@ * Variable generated by C softPLC and plugins **/ extern unsigned long greatest_tick_count__; -/* Tick time provided by POUS.C */ -extern unsigned long long common_ticktime__; /* Effective tick time with 1ms default value */ static long long Ttick = 1000000;