X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Ftimer_posix.h;h=e782da6ec44e90eade2783d79e6861a09b009dc8;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=fd2e9c60cf24f734cc13f28d1d80025cfed7af52;hpb=c579caa5998bcdf6c7620b9547da68caec9e658a;p=bertos.git diff --git a/bertos/emul/timer_posix.h b/bertos/emul/timer_posix.h index fd2e9c60..e782da6e 100644 --- a/bertos/emul/timer_posix.h +++ b/bertos/emul/timer_posix.h @@ -32,7 +32,7 @@ * * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * * \brief Low-level timer module for POSIX systems (interface). */ @@ -41,7 +41,7 @@ // HW dependent timer initialization -#define DEFINE_TIMER_ISR void timer_isr(UNUSED_ARG(int, arg)) +#define DEFINE_TIMER_ISR DECLARE_ISR_CONTEXT_SWITCH(timer_isr) /** Most Linux kernels can't do better than this (CONFIG_HZ=250). */ #define TIMER_TICKS_PER_SEC 250