X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Ftimer_posix.h;h=acfdbe41c8fa64d40e82a6e8b644362155a17ac3;hb=a3ffb42b8a665abcbc54d8cfd290c368ab5f083c;hp=fd2e9c60cf24f734cc13f28d1d80025cfed7af52;hpb=c579caa5998bcdf6c7620b9547da68caec9e658a;p=bertos.git diff --git a/bertos/emul/timer_posix.h b/bertos/emul/timer_posix.h index fd2e9c60..acfdbe41 100644 --- a/bertos/emul/timer_posix.h +++ b/bertos/emul/timer_posix.h @@ -30,9 +30,8 @@ * * --> * - * \version $Id$ * - * \author Bernardo Innocenti + * \author Bernie Innocenti * * \brief Low-level timer module for POSIX systems (interface). */ @@ -41,7 +40,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