提交 7ebea8fe 编写于 作者: B bernard.xiong@gmail.com

deprecated rt_system_tick_init function.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1931 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 e1b5d48c
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <rthw.h> #include <rthw.h>
#include <rtthread.h> #include <rtthread.h>
static rt_tick_t rt_tick; static rt_tick_t rt_tick = 0;
extern void rt_timer_check(void); extern void rt_timer_check(void);
...@@ -29,10 +29,11 @@ extern void rt_timer_check(void); ...@@ -29,10 +29,11 @@ extern void rt_timer_check(void);
* This function will init system tick and set it to zero. * This function will init system tick and set it to zero.
* @ingroup SystemInit * @ingroup SystemInit
* *
* @deprecated since 1.1.0, this function does not need to be invoked
* in the system initialization.
*/ */
void rt_system_tick_init(void) void rt_system_tick_init(void)
{ {
rt_tick = 0;
} }
/** /**
......
...@@ -598,7 +598,7 @@ rt_err_t rt_thread_resume(rt_thread_t thread) ...@@ -598,7 +598,7 @@ rt_err_t rt_thread_resume(rt_thread_t thread)
/** /**
* This function is the timeout function for thread, normally which is invoked * This function is the timeout function for thread, normally which is invoked
* when thread is timeout to wait some resourse. * when thread is timeout to wait some resource.
* *
* @param parameter the parameter of thread timeout function * @param parameter the parameter of thread timeout function
* *
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册