targets/Linux/plc_Linux_main.c
changeset 2171 d1536c271866
parent 1903 084256be3658
child 2173 976841968d74
--- a/targets/Linux/plc_Linux_main.c	Thu May 31 13:07:10 2018 +0300
+++ b/targets/Linux/plc_Linux_main.c	Fri Jun 01 12:21:37 2018 +0300
@@ -117,7 +117,7 @@
     pthread_mutex_lock(&debug_wait_mutex);
     pthread_mutex_lock(&python_wait_mutex);
 
-    timer_create (CLOCK_REALTIME, &sigev, &PLC_timer);
+    timer_create (CLOCK_MONOTONIC, &sigev, &PLC_timer);
     if(  __init(argc,argv) == 0 ){
         PLC_SetTimer(common_ticktime__,common_ticktime__);