summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoryangjie <[email protected]>2021-09-10 17:51:52 +0800
committeryangjie <[email protected]>2021-09-10 17:51:52 +0800
commit5de69966704067ade411d1c4aa11bea327f69793 (patch)
tree6c71de668955d575633392035d4cf477a1b07e5a /src
parenta912a2f88f6b765885a6139be3ce42c388e8b767 (diff)
[kernel]update format
Diffstat (limited to 'src')
-rw-r--r--src/idle.c2
-rw-r--r--src/mem.c4
-rw-r--r--src/slab.c4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/idle.c b/src/idle.c
index 4bf89c38e0..61f6a5b383 100644
--- a/src/idle.c
+++ b/src/idle.c
@@ -167,7 +167,7 @@ void rt_thread_defunct_enqueue(rt_thread_t thread)
/**
* @brief Dequeue a thread from defunct queue.
- *
+ *
* @note It must be called between rt_hw_interrupt_disable and rt_hw_interrupt_enable.
*/
rt_thread_t rt_thread_defunct_dequeue(void)
diff --git a/src/mem.c b/src/mem.c
index 0fefb86f89..f661d49118 100644
--- a/src/mem.c
+++ b/src/mem.c
@@ -618,11 +618,11 @@ RTM_EXPORT(rt_free);
#ifdef RT_MEM_STATS
/**
-* @brief This function will caculate the total memory, the used memory, and
+* @brief This function will caculate the total memory, the used memory, and
* the max used memory.
*
* @param total is a pointer to get the total size of the memory.
-*
+*
* @param used is a pointer to get the size of memory used.
*
* @param max_used is a pointer to get the maximum memory used.
diff --git a/src/slab.c b/src/slab.c
index 4225a4d797..87acb17da8 100644
--- a/src/slab.c
+++ b/src/slab.c
@@ -920,11 +920,11 @@ RTM_EXPORT(rt_free);
#ifdef RT_MEM_STATS
/**
-* @brief This function will caculate the total memory, the used memory, and
+* @brief This function will caculate the total memory, the used memory, and
* the max used memory.
*
* @param total is a pointer to get the total size of the memory.
-*
+*
* @param used is a pointer to get the size of memory used.
*
* @param max_used is a pointer to get the maximum memory used.