summaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
authorMan, Jianting (Meco) <[email protected]>2022-04-28 18:34:42 -0400
committerGitHub <[email protected]>2022-04-29 06:34:42 +0800
commit6295ec108eba9e7783383c30e75c0b1c1d2d6ada (patch)
tree989d4603d2250cc628c83a0b176f4c6c6b225389 /src/timer.c
parentc28b79b7d79df6f2f5037a00a844293052b096cd (diff)
[kernel] remove the register keyword (#5888)
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timer.c b/src/timer.c
index f72c71ab9b..0600f85694 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -409,7 +409,7 @@ rt_err_t rt_timer_start(rt_timer_t timer)
unsigned int row_lvl;
rt_list_t *timer_list;
rt_base_t level;
- register rt_bool_t need_schedule;
+ rt_bool_t need_schedule;
rt_list_t *row_head[RT_TIMER_SKIP_LIST_LEVEL];
unsigned int tst_nr;
static unsigned int random_nr;