diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-25 14:32:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-07-25 14:32:39 +0000 |
commit | eb9b4efd31018e4949e3cc09830a5ecfc1304664 (patch) | |
tree | 99b3f334b22c57eed4147463e769b2296b5c169d /ports | |
parent | 266206d33a7626341f3a206d730cb842dd39d2bc (diff) | |
download | ChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.tar.gz ChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.tar.bz2 ChibiOS-eb9b4efd31018e4949e3cc09830a5ecfc1304664.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@353 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'ports')
-rw-r--r-- | ports/ARMCM3/chcore.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/ARMCM3/chcore.c b/ports/ARMCM3/chcore.c index c09de270c..4aa797c63 100644 --- a/ports/ARMCM3/chcore.c +++ b/ports/ARMCM3/chcore.c @@ -151,7 +151,9 @@ void PendSVVector(void) { chSchReadyI(otp); (currp = fifo_remove(&rlist.r_queue))->p_state = PRCURR; /* set the round-robin time quantum */ +#ifdef CH_USE_ROUNDROBIN rlist.r_preempt = CH_TIME_QUANTUM; +#endif #ifdef CH_USE_TRACE chDbgTrace(otp, currp); #endif |