aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/rt/src/chschd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chschd.c b/os/rt/src/chschd.c
index 5243c8798..03e39c2ec 100644
--- a/os/rt/src/chschd.c
+++ b/os/rt/src/chschd.c
@@ -334,11 +334,11 @@ static void wakeup(void *p) {
chSemFastSignalI(tp->u.wtsemp);
#endif
/* Falls through.*/
+ case CH_STATE_QUEUED:
+ /* Falls through.*/
#if (CH_CFG_USE_CONDVARS == TRUE) && (CH_CFG_USE_CONDVARS_TIMEOUT == TRUE)
case CH_STATE_WTCOND:
#endif
- /* Falls through.*/
- case CH_STATE_QUEUED:
/* States requiring dequeuing.*/
(void) queue_dequeue(tp);
break;