summaryrefslogtreecommitdiff
path: root/src/timer.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2010-12-08 23:17:23 +0000
committer[email protected] <[email protected]>2010-12-08 23:17:23 +0000
commitfbe81f8c4c29433859920b2f08f4ff001b891134 (patch)
tree085f649b2b5493445a971ba76d6922689554fd47 /src/timer.c
parent7cdd2849a717914a90e4b24409d16932518c2f9e (diff)
add IAR compiler version check in weak; add rt_malloc_page/rt_free_page for application module; fix the software timer thread stack issue.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1183 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/timer.c')
-rw-r--r--src/timer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/timer.c b/src/timer.c
index b21a3016bd..21fe1f6466 100644
--- a/src/timer.c
+++ b/src/timer.c
@@ -416,6 +416,7 @@ void rt_timer_check(void)
#ifdef RT_USING_TIMER_SOFT
static struct rt_thread timer_thread;
+ALIGN(RT_ALIGN_SIZE)
static rt_uint8_t timer_thread_stack[RT_TIMER_THREAD_STACK_SIZE];
static struct rt_semaphore timer_sem;