targets/Linux/plc_Linux_main.c
changeset 985 cd8dadcef426
parent 954 ab487d32ce9a
child 1428 e14003eb4d42
--- a/targets/Linux/plc_Linux_main.c	Fri Mar 15 00:38:53 2013 +0100
+++ b/targets/Linux/plc_Linux_main.c	Fri Mar 15 17:47:53 2013 +0900
@@ -11,7 +11,6 @@
 #include <locale.h>
 #include <semaphore.h>
 
-extern unsigned long long common_ticktime__;
 static sem_t Run_PLC;
 
 long AtomicCompareExchange(long* atomicvar,long compared, long exchange)
@@ -97,8 +96,6 @@
 {
     struct sigevent sigev;
     setlocale(LC_NUMERIC, "C");
-    /* Define Ttick to 1ms if common_ticktime not defined */
-    Ttick = common_ticktime__?common_ticktime__:1000000;
 
     PLC_shutdown = 0;