summaryrefslogtreecommitdiff
path: root/src/clock.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-01-31 12:17:47 +0000
committer[email protected] <[email protected]>2012-01-31 12:17:47 +0000
commit7ebea8fe654ec21f3fa697e4e42367f08167a5de (patch)
treecfc2a7e6dff4947ccb36f87ebca82182192fd2b4 /src/clock.c
parente1b5d48c9ba74686ddaed2fb6ada32e2f14077c6 (diff)
deprecated rt_system_tick_init function.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1931 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/clock.c')
-rw-r--r--src/clock.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clock.c b/src/clock.c
index 86d15f146c..53c32aeb81 100644
--- a/src/clock.c
+++ b/src/clock.c
@@ -21,7 +21,7 @@
#include <rthw.h>
#include <rtthread.h>
-static rt_tick_t rt_tick;
+static rt_tick_t rt_tick = 0;
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.
* @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)
{
- rt_tick = 0;
}
/**