diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-19 11:45:52 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-08-19 11:45:52 +0000 |
commit | c3b9392212cb43a5496c80f3d2ab61ce4caf1dab (patch) | |
tree | c80a98cde7cba0c4d4d97e527211701a3f5dcd83 /os/rt/src/chlists.c | |
parent | b4e2fca4a0ff8ed15625cdbf57cb4e8fe90c7647 (diff) | |
download | ChibiOS-c3b9392212cb43a5496c80f3d2ab61ce4caf1dab.tar.gz ChibiOS-c3b9392212cb43a5496c80f3d2ab61ce4caf1dab.tar.bz2 ChibiOS-c3b9392212cb43a5496c80f3d2ab61ce4caf1dab.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6175 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/src/chlists.c')
-rw-r--r-- | os/rt/src/chlists.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/rt/src/chlists.c b/os/rt/src/chlists.c index a0b4df08b..4dd141b9c 100644 --- a/os/rt/src/chlists.c +++ b/os/rt/src/chlists.c @@ -57,7 +57,7 @@ * dequeued or the specified timeouts expires.
*
* @param[in] tqp pointer to the threads queue object
- * @param[in] time the timeout in system ticks, the special values are
+ * @param[in] timeout the timeout in system ticks, the special values are
* handled as follow:
* - @a TIME_INFINITE the thread enters an infinite sleep
* state.
@@ -74,13 +74,13 @@ *
* @sclass
*/
-msg_t chQueueGoSleepTimeoutS(threads_queue_t *tqp, systime_t time) {
+msg_t chQueueGoSleepTimeoutS(threads_queue_t *tqp, systime_t timeout) {
- if (TIME_IMMEDIATE == time)
+ if (TIME_IMMEDIATE == timeout)
return MSG_TIMEOUT;
queue_insert(currp, tqp);
- return chSchGoSleepTimeoutS(CH_STATE_QUEUED, time);
+ return chSchGoSleepTimeoutS(CH_STATE_QUEUED, timeout);
}
/**
|