summaryrefslogtreecommitdiff
path: root/nuttx/include/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/include/time.h')
-rw-r--r--nuttx/include/time.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/nuttx/include/time.h b/nuttx/include/time.h
index 414e19995..b0e6a0c25 100644
--- a/nuttx/include/time.h
+++ b/nuttx/include/time.h
@@ -55,13 +55,13 @@
* replaced with CLOCKS_PER_SEC. Both are defined here.
*
* The default value is 100Hz, but this default setting can be overridden by
- * defining the clock interval in milliseconds as CONFIG_MSEC_PER_TICK in the
+ * defining the clock interval in microseconds as CONFIG_USEC_PER_TICK in the
* board configuration file.
*/
-#ifdef CONFIG_MSEC_PER_TICK
-# define CLK_TCK (1000/CONFIG_MSEC_PER_TICK)
-# define CLOCKS_PER_SEC (1000/CONFIG_MSEC_PER_TICK)
+#ifdef CONFIG_USEC_PER_TICK
+# define CLK_TCK (1000000/CONFIG_USEC_PER_TICK)
+# define CLOCKS_PER_SEC (1000000/CONFIG_USEC_PER_TICK)
#else
# define CLK_TCK (100)
# define CLOCKS_PER_SEC (100)