Workaround for GCC7 fallthrough bug.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11161 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
4e51e4aadb
commit
1ffcc1b527
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue