diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-04-27 07:34:15 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-04-27 07:34:15 +0000 |
commit | 837f2cd0fd066a1a4ee1fe299aac42b7816c7e29 (patch) | |
tree | 7ecb1e13cf6e5f3f593e9129195dd0e33dcecca4 /os/rt/include/chsem.h | |
parent | f6c360002daa5b9c18386f5d14ce22d3184a7b3f (diff) | |
download | ChibiOS-837f2cd0fd066a1a4ee1fe299aac42b7816c7e29.tar.gz ChibiOS-837f2cd0fd066a1a4ee1fe299aac42b7816c7e29.tar.bz2 ChibiOS-837f2cd0fd066a1a4ee1fe299aac42b7816c7e29.zip |
Added const modifiers where required, replace NULL with nullptr, minor documentation fixes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11955 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/rt/include/chsem.h')
-rw-r--r-- | os/rt/include/chsem.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/rt/include/chsem.h b/os/rt/include/chsem.h index dc0597718..ab0d537b5 100644 --- a/os/rt/include/chsem.h +++ b/os/rt/include/chsem.h @@ -146,7 +146,7 @@ static inline void chSemFastSignalI(semaphore_t *sp) { *
* @iclass
*/
-static inline cnt_t chSemGetCounterI(semaphore_t *sp) {
+static inline cnt_t chSemGetCounterI(const semaphore_t *sp) {
chDbgCheckClassI();
|