summaryrefslogtreecommitdiff
path: root/nuttx/include/nuttx/clock.h
diff options
context:
space:
mode:
authorGregory Nutt <gnutt@nuttx.org>2014-08-07 19:11:22 -0600
committerGregory Nutt <gnutt@nuttx.org>2014-08-07 19:11:22 -0600
commit704ce4837c3246378b7b898ad962de1ee21d8e5b (patch)
treee43af1ddddce79566158054761e018f3b0dcb145 /nuttx/include/nuttx/clock.h
parent7feb9a62cfb0a11da688aa916b43dc3b6beb3c82 (diff)
downloadnuttx-704ce4837c3246378b7b898ad962de1ee21d8e5b.tar.gz
nuttx-704ce4837c3246378b7b898ad962de1ee21d8e5b.tar.bz2
nuttx-704ce4837c3246378b7b898ad962de1ee21d8e5b.zip
Some final tickless OS bugfixes. No longer EXPERIMENTAL. Update some comments
Diffstat (limited to 'nuttx/include/nuttx/clock.h')
-rw-r--r--nuttx/include/nuttx/clock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/include/nuttx/clock.h b/nuttx/include/nuttx/clock.h
index fcd8c5c58..b0f4c1505 100644
--- a/nuttx/include/nuttx/clock.h
+++ b/nuttx/include/nuttx/clock.h
@@ -135,7 +135,7 @@
#define TICK2USEC(tick) ((tick)*USEC_PER_TICK) /* Exact */
#if (MSEC_PER_TICK * USEC_PER_MSEC) == USEC_PER_TICK
-#define TICK2USEC(tick) ((tick)*MSEC_PER_TICK) /* Exact */
+# define TICK2MSEC(tick) ((tick)*MSEC_PER_TICK) /* Exact */
#else
# define TICK2MSEC(tick) (((tick)*USEC_PER_TICK)/USEC_PER_MSEC) /* Rounds */
#endif