X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=bertos%2Fcpu%2Farm%2Fdrv%2Ftimer_at91.c;h=b3db6a0fd3d5f37aa94da2ba6bf2869bc6553987;hb=e62ca0b357f09804d7d894949df44224c9d74bb7;hp=e27e8a63e34e44ad8e692bcfff7cced167adde62;hpb=345f93de1963f49bdb194d2b06c8c5d7ba0a3e5f;p=bertos.git diff --git a/bertos/cpu/arm/drv/timer_at91.c b/bertos/cpu/arm/drv/timer_at91.c index e27e8a63..b3db6a0f 100644 --- a/bertos/cpu/arm/drv/timer_at91.c +++ b/bertos/cpu/arm/drv/timer_at91.c @@ -63,7 +63,9 @@ INLINE void timer_hw_init(void) { - cpuflags_t flags; + sysirq_init(); + + cpu_flags_t flags; MOD_CHECK(sysirq);