aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-20 19:37:07 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-01-20 19:37:07 +0000
commit14005a2ffefe28adb2ce2cfdad24be782090c089 (patch)
treee758e6773e5cfe7079b98028e6fd639994353b65 /os/ports
parent7bd8164f8ff6ffd0a9458d44e18097582adae201 (diff)
downloadChibiOS-14005a2ffefe28adb2ce2cfdad24be782090c089.tar.gz
ChibiOS-14005a2ffefe28adb2ce2cfdad24be782090c089.tar.bz2
ChibiOS-14005a2ffefe28adb2ce2cfdad24be782090c089.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1533 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 6a8f21853..e7f6b82c3 100644
--- a/os/ports/GCC/ARMCM3/chcore.c
+++ b/os/ports/GCC/ARMCM3/chcore.c
@@ -158,7 +158,7 @@ void PendSVVector(void) {
PUSH_CONTEXT(sp_thd);
(otp = currp)->p_ctx.r13 = sp_thd;
- (currp = fifo_remove(&rlist.r_queue))->p_state = PRCURR;
+ (currp = fifo_remove(&rlist.r_queue))->p_state = THD_STATE_CURRENT;
chSchReadyI(otp);
#if CH_TIME_QUANTUM > 0
/* set the round-robin time quantum */