fixed bug in timerscfg.h for win32
authorgreg
Thu, 16 Jul 2009 13:51:49 +0200
changeset 565 5fe7a5b0b8a5
parent 564 81b92b8ec2b5
child 566 365d555fc0c6
fixed bug in timerscfg.h for win32
include/win32/timerscfg.h
--- a/include/win32/timerscfg.h	Thu Jul 16 12:03:37 2009 +0200
+++ b/include/win32/timerscfg.h	Thu Jul 16 13:51:49 2009 +0200
@@ -30,8 +30,9 @@
 // Time resolution : 64bit (~584942 years)
 #define TIMEVAL unsigned long long
 #define TIMEVAL_MAX ~(TIMEVAL)0
-#define MS_TO_TIMEVAL(ms) ms*1000
-#define US_TO_TIMEVAL(us) us
+
+#define MS_TO_TIMEVAL(ms) ms*10000
+#define US_TO_TIMEVAL(us) us*10
 
 #define TASK_HANDLE HANDLE