aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 15:42:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-10-17 15:42:19 +0000
commit404fe109397d80016f71c57f42ee6cd0cbfe96d1 (patch)
tree07910235b303d57314cceafed0de9821aa3dc852 /os/ports
parent33114fa3e8a8b0e9c12890b1fc8bb52b9bc5a48a (diff)
downloadChibiOS-404fe109397d80016f71c57f42ee6cd0cbfe96d1.tar.gz
ChibiOS-404fe109397d80016f71c57f42ee6cd0cbfe96d1.tar.bz2
ChibiOS-404fe109397d80016f71c57f42ee6cd0cbfe96d1.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1236 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports')
-rw-r--r--os/ports/GCC/ARMCM3/chcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c
index 8f99d3dec..a2334dcf7 100644
--- a/os/ports/GCC/ARMCM3/chcore.c
+++ b/os/ports/GCC/ARMCM3/chcore.c
@@ -158,7 +158,7 @@ void PendSVVector(void) {
(otp = currp)->p_ctx.r13 = sp_thd;
(currp = fifo_remove(&rlist.r_queue))->p_state = PRCURR;
chSchReadyI(otp);
-#if CH_USE_ROUNDROBIN
+#if CH_TIME_QUANTUM > 0
/* set the round-robin time quantum */
rlist.r_preempt = CH_TIME_QUANTUM;
#endif