aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/chsem.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/include/chsem.h')
-rw-r--r--os/rt/include/chsem.h2
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();