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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chsem.h b/os/rt/include/chsem.h
index ef2848b16..d8958eeeb 100644
--- a/os/rt/include/chsem.h
+++ b/os/rt/include/chsem.h
@@ -93,8 +93,8 @@ extern "C" {
void chSemResetI(semaphore_t *sp, cnt_t n);
msg_t chSemWait(semaphore_t *sp);
msg_t chSemWaitS(semaphore_t *sp);
- msg_t chSemWaitTimeout(semaphore_t *sp, systime_t time);
- msg_t chSemWaitTimeoutS(semaphore_t *sp, systime_t time);
+ msg_t chSemWaitTimeout(semaphore_t *sp, sysinterval_t timeout);
+ msg_t chSemWaitTimeoutS(semaphore_t *sp, sysinterval_t timeout);
void chSemSignal(semaphore_t *sp);
void chSemSignalI(semaphore_t *sp);
void chSemAddCounterI(semaphore_t *sp, cnt_t n);