aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/src/chlists.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/rt/src/chlists.c')
-rw-r--r--os/rt/src/chlists.c8
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);
}
/**