X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fdrv%2Ftimer.c;h=a411dc4e8be29775aed3cc959f5af49b62f32c00;hb=c00549cc35cb40d68160db6addb24cc82afe052e;hp=91784f9a8c96a2a033cfe0a4846a6bc2cd361f12;hpb=f0c6ef0573ea9487ce6852249828cfd39cdae6bf;p=bertos.git diff --git a/bertos/drv/timer.c b/bertos/drv/timer.c index 91784f9a..a411dc4e 100644 --- a/bertos/drv/timer.c +++ b/bertos/drv/timer.c @@ -158,6 +158,8 @@ INLINE void timer_addToList(Timer *timer, List *queue) * When the delay indicated by the timer expires, the timer * device will execute the event associated with it. * + * You should not call this function on an already running timer. + * * \note Interrupt safe */ void timer_add(Timer *timer)