From 6272b5c58c6923dc73c9e1d02ad6368bfb245d31 Mon Sep 17 00:00:00 2001 From: Simon Goldschmidt Date: Fri, 7 Feb 2014 14:03:53 +0100 Subject: [PATCH] Fixed misleading comment on sys_untimeout() --- src/core/timers.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/timers.c b/src/core/timers.c index 94e8029a..4203efee 100644 --- a/src/core/timers.c +++ b/src/core/timers.c @@ -386,10 +386,8 @@ sys_timeout(u32_t msecs, sys_timeout_handler handler, void *arg) /** * Go through timeout list (for this task only) and remove the first matching - * entry, even though the timeout has not triggered yet. - * - * @note This function only works as expected if there is only one timeout - * calling 'handler' in the list of timeouts. + * entry (subsequent entries remain untouched), even though the timeout has not + * triggered yet. * * @param handler callback function that would be called by the timeout * @param arg callback argument that would be passed to handler