diff options
-rw-r--r-- | os/ports/GCC/ARMCM3/chcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/GCC/ARMCM3/chcore.c b/os/ports/GCC/ARMCM3/chcore.c index c0a45ffb8..ce76ffa4c 100644 --- a/os/ports/GCC/ARMCM3/chcore.c +++ b/os/ports/GCC/ARMCM3/chcore.c @@ -162,7 +162,7 @@ void PendSVVector(void) { PUSH_CONTEXT(sp_thd);
(otp = currp)->p_ctx.r13 = sp_thd;
- (currp = fifo_remove((void *)&rlist))->p_state = PRCURR;
+ (currp = fifo_remove((void *)&rlist.r_queue))->p_state = PRCURR;
chSchReadyI(otp);
#if CH_USE_ROUNDROBIN
/* set the round-robin time quantum */
|