diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/rt/src/chthreads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/src/chthreads.c b/os/rt/src/chthreads.c index c9cbfac0d..177d515b7 100644 --- a/os/rt/src/chthreads.c +++ b/os/rt/src/chthreads.c @@ -686,7 +686,7 @@ void chThdSleepUntil(systime_t time) { *
* @param[in] prev absolute system time of the previous deadline
* @param[in] next absolute system time of the next deadline
- * @return the @p next parameter
+ * @return the @p next parameter
*
* @api
*/
@@ -696,7 +696,7 @@ systime_t chThdSleepUntilWindowed(systime_t prev, systime_t next) { chSysLock();
time = chVTGetSystemTimeX();
if (chVTIsTimeWithinX(time, prev, next)) {
- chThdSleepS(next - time);
+ chThdSleepS(next - time);
}
chSysUnlock();
|