summaryrefslogtreecommitdiff
path: root/examples/kernel/timer_control.c
diff options
context:
space:
mode:
authorguo <[email protected]>2021-09-28 10:36:54 +0800
committerGitHub <[email protected]>2021-09-28 10:36:54 +0800
commit55a302cd092758a44b589d65470a69d9e8ae4ced (patch)
treee60fc53994c426007e9eb4877e5bd123f124ef39 /examples/kernel/timer_control.c
parent00727d6b6db92dc1cf98f028f26fd6168594b905 (diff)
parent00d42ef73cff61ecda7ff006b077a73e1a4ff669 (diff)
Merge branch 'master' into usbh_construct
Diffstat (limited to 'examples/kernel/timer_control.c')
-rw-r--r--examples/kernel/timer_control.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/kernel/timer_control.c b/examples/kernel/timer_control.c
index 9fcb0d4c4d..c92d558d5c 100644
--- a/examples/kernel/timer_control.c
+++ b/examples/kernel/timer_control.c
@@ -1,4 +1,13 @@
/*
+ * Copyright (c) 2006-2021, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ *
+ */
+
+/*
* 程序清单:动态定时器例程
*
* 这个例程会创建1个动态周期型定时器对象,然后控制它进行定时时间长度的更改。
@@ -14,7 +23,7 @@ static rt_uint8_t count;
static void timeout1(void* parameter)
{
rt_tick_t timeout = 50;
-
+
rt_kprintf("periodic timer is timeout\n");
count ++;