Index: trunk/MagicSoft/Cosy/aposs/Magic.m
===================================================================
--- trunk/MagicSoft/Cosy/aposs/Magic.m	(revision 1133)
+++ trunk/MagicSoft/Cosy/aposs/Magic.m	(revision 1134)
@@ -614,6 +614,7 @@
 /* Timeout Interrupt                                                       */
 /*-------------------------------------------------------------------------*/
-   SUBPROG PROC_Timeout
-      if (TIME > timeouttime) then                                  
+   SUBPROG PROC_Timeout                          
+      diff = timeouttime - TIME
+      if (diff < 0) then                                  
          MOTOR STOP
          
@@ -634,5 +635,5 @@
                           
          /*if (firstcall)*/ 
-            PRINT "User Timeout at uptime=", (TIME%1000), "s"
+            PRINT "User Timeout at uptime=", (TIME%1000), "s missed=", -diff, "ms"
          /*firstcall = kFALSE  */
 
