summaryrefslogtreecommitdiff
path: root/examples/kernel/thread_priority.c
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-12-19 07:08:06 +0000
committer[email protected] <[email protected]>2011-12-19 07:08:06 +0000
commitd28cdf68d923b355d144029f6aeb0aa405f3ab3f (patch)
treec7add4950886cbe726a0f43b914712fc48d0c1a4 /examples/kernel/thread_priority.c
parent212d828d3ff4dd0f57e2d2a54a9096f00eb88535 (diff)
update testcase for kernel.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1849 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'examples/kernel/thread_priority.c')
-rw-r--r--examples/kernel/thread_priority.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/kernel/thread_priority.c b/examples/kernel/thread_priority.c
index c64e329a6f..6d0692e4dc 100644
--- a/examples/kernel/thread_priority.c
+++ b/examples/kernel/thread_priority.c
@@ -28,7 +28,7 @@ static void thread2_entry(void* parameter)
tick = rt_tick_get();
while (1)
{
- if (rt_tick_get() - tick >= 100)
+ if (rt_tick_get() - tick >= 50)
{
if (count == 0)
tc_done(TC_STAT_FAILED);