summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authoriysheng <[email protected]>2021-02-05 11:46:44 +0800
committeriysheng <[email protected]>2021-02-05 11:46:44 +0800
commita281ee98745f4bdf6b4b1b1d202f9450430d074e (patch)
tree3619e90357a7f4183f5c4e69b54ee96704c7bca7 /components
parent2b50fbafe282b04bb0abdac46166a7e33a42f519 (diff)
code format
Diffstat (limited to 'components')
-rw-r--r--components/drivers/include/drivers/hwtimer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/drivers/include/drivers/hwtimer.h b/components/drivers/include/drivers/hwtimer.h
index cbfeec2bf8..d00dbd8a13 100644
--- a/components/drivers/include/drivers/hwtimer.h
+++ b/components/drivers/include/drivers/hwtimer.h
@@ -70,7 +70,7 @@ typedef struct rt_hwtimer_device
rt_int32_t freq; /* counting frequency set by the user */
rt_int32_t overflow; /* timer overflows */
- float period_sec;
+ float period_sec;
rt_int32_t cycles; /* how many times will generate a timeout event after overflow */
rt_int32_t reload; /* reload cycles(using in period mode) */
rt_hwtimer_mode_t mode; /* timing mode(oneshot/period) */