summaryrefslogtreecommitdiff
path: root/components/drivers/cputime/cputime.c
diff options
context:
space:
mode:
authorMeco Man <[email protected]>2021-03-08 18:19:04 +0800
committerMeco Man <[email protected]>2021-03-08 18:19:04 +0800
commit3c05a4e7193ee553bf502560e7de4be6489c7629 (patch)
tree69771215353ad4697e7c12a969f9bada32129265 /components/drivers/cputime/cputime.c
parentce86058201432e865b8d7c4096b3675642a43a42 (diff)
[compoenets] auto & manual formatted
Diffstat (limited to 'components/drivers/cputime/cputime.c')
-rw-r--r--components/drivers/cputime/cputime.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/components/drivers/cputime/cputime.c b/components/drivers/cputime/cputime.c
index 3ec860d5c5..4a9eee3a71 100644
--- a/components/drivers/cputime/cputime.c
+++ b/components/drivers/cputime/cputime.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2018, RT-Thread Development Team
+ * Copyright (c) 2006-2021, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
@@ -14,7 +14,7 @@
static const struct rt_clock_cputime_ops *_cputime_ops = RT_NULL;
/**
- * The clock_cpu_getres() function shall return the resolution of CPU time, the
+ * The clock_cpu_getres() function shall return the resolution of CPU time, the
* number of nanosecond per tick.
*
* @return the number of nanosecond per tick
@@ -43,7 +43,7 @@ uint32_t clock_cpu_gettime(void)
}
/**
- * The clock_cpu_microsecond() fucntion shall return the microsecond according to
+ * The clock_cpu_microsecond() fucntion shall return the microsecond according to
* cpu_tick parameter.
*
* @param cpu_tick the cpu tick
@@ -58,7 +58,7 @@ uint32_t clock_cpu_microsecond(uint32_t cpu_tick)
}
/**
- * The clock_cpu_microsecond() fucntion shall return the millisecond according to
+ * The clock_cpu_microsecond() fucntion shall return the millisecond according to
* cpu_tick parameter.
*
* @param cpu_tick the cpu tick
@@ -74,7 +74,7 @@ uint32_t clock_cpu_millisecond(uint32_t cpu_tick)
/**
* The clock_cpu_seops() function shall set the ops of cpu time.
- *
+ *
* @return always return 0.
*/
int clock_cpu_setops(const struct rt_clock_cputime_ops *ops)