diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-22 10:28:07 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-12-22 10:28:07 +0000 |
commit | 4e51e4aadb58c2e6f06d2373c8e011be94cf16c5 (patch) | |
tree | 5331d5dc607826f819367c25390b018a965f75ff | |
parent | 2bd9de7041c034ba43bd1e171fb0692a13697eee (diff) | |
download | ChibiOS-4e51e4aadb58c2e6f06d2373c8e011be94cf16c5.tar.gz ChibiOS-4e51e4aadb58c2e6f06d2373c8e011be94cf16c5.tar.bz2 ChibiOS-4e51e4aadb58c2e6f06d2373c8e011be94cf16c5.zip |
Moved "falls through" comments outside #if block.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11158 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/rt/src/chschd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chschd.c b/os/rt/src/chschd.c index 2efc14329..5243c8798 100644 --- a/os/rt/src/chschd.c +++ b/os/rt/src/chschd.c @@ -332,12 +332,12 @@ static void wakeup(void *p) { #if CH_CFG_USE_SEMAPHORES == TRUE
case CH_STATE_WTSEM:
chSemFastSignalI(tp->u.wtsemp);
- /* Falls through.*/
#endif
+ /* Falls through.*/
#if (CH_CFG_USE_CONDVARS == TRUE) && (CH_CFG_USE_CONDVARS_TIMEOUT == TRUE)
case CH_STATE_WTCOND:
- /* Falls through.*/
#endif
+ /* Falls through.*/
case CH_STATE_QUEUED:
/* States requiring dequeuing.*/
(void) queue_dequeue(tp);
|