X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;ds=sidebyside;f=bertos%2Fcpu%2Firq.h;h=c3824556176b647068a5e6913b19c122b102e3a5;hb=4b025f27d2a79fb44ee515f89bbf0123321fd81f;hp=e27a77fe1021f215e2e44d11c2419b5fecfa26fb;hpb=77958b8e9d27594aa22e76132b4bbb8d0335bfc2;p=bertos.git diff --git a/bertos/cpu/irq.h b/bertos/cpu/irq.h index e27a77fe..c3824556 100644 --- a/bertos/cpu/irq.h +++ b/bertos/cpu/irq.h @@ -151,6 +151,7 @@ #if CONFIG_KERN_PREEMPT #define DECLARE_ISR_CONTEXT_SWITCH(func) \ + void func(void); \ INLINE void __isr_##func(void); \ void func(void) \ { \