aboutsummaryrefslogtreecommitdiffstats
path: root/os/lib/include/chbsem.h
diff options
context:
space:
mode:
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();