targets/Xenomai/plc_Xenomai_main.c
changeset 985 cd8dadcef426
parent 954 ab487d32ce9a
child 1428 e14003eb4d42
--- a/targets/Xenomai/plc_Xenomai_main.c	Fri Mar 15 00:38:53 2013 +0100
+++ b/targets/Xenomai/plc_Xenomai_main.c	Fri Mar 15 17:47:53 2013 +0900
@@ -38,8 +38,6 @@
 #define PYTHON_PIPE_MINOR            3
 #define PIPE_SIZE                    1 
 
-/* provided by POUS.C */
-extern unsigned long common_ticktime__;
 
 long AtomicCompareExchange(long* atomicvar,long compared, long exchange)
 {
@@ -170,9 +168,6 @@
     /* no memory swapping for that process */
     mlockall(MCL_CURRENT | MCL_FUTURE);
 
-    /* Define Ttick to 1ms if common_ticktime not defined */
-    Ttick = common_ticktime__?common_ticktime__:1000000;
-
     PLC_shutdown = 0;
 
     /*** RT Pipes creation and opening ***/