diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 11:01:09 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-03 11:01:09 +0000 |
commit | fbd65c1f6ae3c802467ab99f4b2fe9c7c084972e (patch) | |
tree | cafc124edd19ce4f3b676a9de703f7a0aefed409 /os/rt/include/chbsem.h | |
parent | 3d1a86e9fb0b9495a726dab534e97c063b5f368b (diff) | |
download | ChibiOS-fbd65c1f6ae3c802467ab99f4b2fe9c7c084972e.tar.gz ChibiOS-fbd65c1f6ae3c802467ab99f4b2fe9c7c084972e.tar.bz2 ChibiOS-fbd65c1f6ae3c802467ab99f4b2fe9c7c084972e.zip |
MISRA-related fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7711 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chbsem.h')
-rw-r--r-- | os/rt/include/chbsem.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/os/rt/include/chbsem.h b/os/rt/include/chbsem.h index 46c27483f..ca79665ba 100644 --- a/os/rt/include/chbsem.h +++ b/os/rt/include/chbsem.h @@ -267,8 +267,9 @@ static inline void chBSemSignalI(binary_semaphore_t *bsp) { chDbgCheckClassI();
- if (bsp->bs_sem.s_cnt < 1)
+ if (bsp->bs_sem.s_cnt < 1) {
chSemSignalI(&bsp->bs_sem);
+ }
}
/**
|