X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftimer_at91.c;h=2508b64baa8b30040cd0b8bc4ba606c9dad55314;hb=32d1445272120a254d77ce8d1af1f527da7a2c17;hp=f1c2887e2b0fe47b850a9ba803b1b2b7a6e91251;hpb=fe0a14d1434098bfd0780d06a2a7e55f27940d27;p=bertos.git diff --git a/bertos/cpu/arm/drv/timer_at91.c b/bertos/cpu/arm/drv/timer_at91.c index f1c2887e..2508b64b 100644 --- a/bertos/cpu/arm/drv/timer_at91.c +++ b/bertos/cpu/arm/drv/timer_at91.c @@ -50,6 +50,8 @@ /** HW dependent timer initialization */ #if (CONFIG_TIMER == TIMER_ON_PIT) + ISR_PROTO_CONTEXT_SWITCH(timer_handler); + void timer_hw_init(void) { sysirq_init();