diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-12 08:37:47 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2017-10-12 08:37:47 +0000 |
commit | 286deccd1280b0d66ccc6d9b2617719582607f0d (patch) | |
tree | 26c4066c47d36dd4dbeaea4c48c8ac9b3da3a4e7 /os/rt/include/chsem.h | |
parent | b172abc34df730bea1487f9d2fe518a9b3d098b9 (diff) | |
download | ChibiOS-286deccd1280b0d66ccc6d9b2617719582607f0d.tar.gz ChibiOS-286deccd1280b0d66ccc6d9b2617719582607f0d.tar.bz2 ChibiOS-286deccd1280b0d66ccc6d9b2617719582607f0d.zip |
EXPERIMENTAL: Introduced sysinterval_t in RT, now system time and intervals are different types and could have different sizes.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/rt5_dev_point1@10812 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/chsem.h')
-rw-r--r-- | os/rt/include/chsem.h | 4 |
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);
|