summaryrefslogtreecommitdiff
path: root/src/clock.c
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2021-09-11 18:29:37 +0800
committerguozhanxin <[email protected]>2021-09-14 21:55:06 +0800
commit6cb093aa272a0b1ef908cbd8e103cbd94120b3c6 (patch)
tree1c1dc2fb8bbb0599da7c3b4b732e661cdfd647b6 /src/clock.c
parente6f5282f6e547c2924c8921dcfacfb13de4f9e60 (diff)
[kernel] Improve code comments.
Diffstat (limited to 'src/clock.c')
-rw-r--r--src/clock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clock.c b/src/clock.c
index e49df94aae..fb7ee447d2 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -130,7 +130,7 @@ RTM_EXPORT(rt_tick_from_millisecond);
/**
* @brief This function will return the passed millisecond from boot.
*
- * @note When the value of RT_TICK_PER_SECOND is lower than 1000 or
+ * @note if the value of RT_TICK_PER_SECOND is lower than 1000 or
* is not an integral multiple of 1000, this function will not
* provide the correct 1ms-based tick.
*