X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Femul%2Ftimer_posix.h;h=e782da6ec44e90eade2783d79e6861a09b009dc8;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=a8043dfc5304147104f66b454b49544be7b9d414;hpb=fe0a14d1434098bfd0780d06a2a7e55f27940d27;p=bertos.git diff --git a/bertos/emul/timer_posix.h b/bertos/emul/timer_posix.h index a8043dfc..e782da6e 100644 --- a/bertos/emul/timer_posix.h +++ b/bertos/emul/timer_posix.h @@ -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