aboutsummaryrefslogtreecommitdiffstats
path: root/os/lib/include/chbsem.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-04-27 07:34:15 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-04-27 07:34:15 +0000
commit837f2cd0fd066a1a4ee1fe299aac42b7816c7e29 (patch)
tree7ecb1e13cf6e5f3f593e9129195dd0e33dcecca4 /os/lib/include/chbsem.h
parentf6c360002daa5b9c18386f5d14ce22d3184a7b3f (diff)
downloadChibiOS-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/lib/include/chbsem.h')
-rw-r--r--os/lib/include/chbsem.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/lib/include/chbsem.h b/os/lib/include/chbsem.h
index 64b597641..77ca30c25 100644
--- a/os/lib/include/chbsem.h
+++ b/os/lib/include/chbsem.h
@@ -297,7 +297,7 @@ static inline void chBSemSignal(binary_semaphore_t *bsp) {
*
* @iclass
*/
-static inline bool chBSemGetStateI(binary_semaphore_t *bsp) {
+static inline bool chBSemGetStateI(const binary_semaphore_t *bsp) {
chDbgCheckClassI();