From 20a14306bbef48764d3eb0c435c6a255d2580cce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sat, 19 Mar 2016 18:57:49 +0100 Subject: [PATCH] Clarify uc_timer_add docs --- include/ucore/timers.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/ucore/timers.h b/include/ucore/timers.h index 4385298..00f1563 100644 --- a/include/ucore/timers.h +++ b/include/ucore/timers.h @@ -96,6 +96,8 @@ void uc_timers_init_ex(struct UCTimers *t, struct UCoreClock *uclock); * will be called when the timer expires, and the timer is removed from the engine * User is responsible for the lifetime and memory of the UCTimer, which must exist until * te timer is fired or removed. + * If the timer has previously been added, it will be removed first. So there + * is no need to call uc_timers_remove() to "re-schedule" a timer. * * @param timers timer engine to add timer to. * @param timer timer to add