X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=inline;f=bertos%2Fcpu%2Fcortex-m3%2Fdrv%2Ftimer_lm3s.h;h=3d7c979fcd3a052834833d1eb8f3e6e543f9ed2d;hb=77958b8e9d27594aa22e76132b4bbb8d0335bfc2;hp=e14cf3907fab0e871ee43e681058de00ef0db6d3;hpb=ffc9d84f819c7480515ece4417329f4972510462;p=bertos.git diff --git a/bertos/cpu/cortex-m3/drv/timer_lm3s.h b/bertos/cpu/cortex-m3/drv/timer_lm3s.h index e14cf390..3d7c979f 100644 --- a/bertos/cpu/cortex-m3/drv/timer_lm3s.h +++ b/bertos/cpu/cortex-m3/drv/timer_lm3s.h @@ -54,8 +54,8 @@ typedef uint32_t hptime_t; #define SIZEOF_HPTIME_T 4 /* Timer ISR prototype */ -#define DEFINE_TIMER_ISR void timer_handler(void); \ - void timer_handler(void) +ISR_PROTO_CONTEXT_SWITCH(timer_handler); +#define DEFINE_TIMER_ISR DECLARE_ISR_CONTEXT_SWITCH(timer_handler) INLINE void timer_hw_irq(void) {