diff options
Diffstat (limited to 'firmware/target/arm/tms320dm320/kernel-dm320.c')
-rw-r--r-- | firmware/target/arm/tms320dm320/kernel-dm320.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/firmware/target/arm/tms320dm320/kernel-dm320.c b/firmware/target/arm/tms320dm320/kernel-dm320.c index 42f9773d36..b5eb4233e4 100644 --- a/firmware/target/arm/tms320dm320/kernel-dm320.c +++ b/firmware/target/arm/tms320dm320/kernel-dm320.c @@ -25,8 +25,6 @@ #include "timer.h" #include "thread.h" -extern void (*tick_funcs[MAX_NUM_TICK_TASKS])(void); - void tick_start(unsigned int interval_in_ms) { /* TODO: set up TIMER1 clock settings @@ -53,16 +51,7 @@ void tick_start(unsigned int interval_in_ms) void TIMER1(void) { IO_INTC_IRQ0 = INTR_IRQ0_TMR1; - - int i; /* Run through the list of tick tasks */ - for(i = 0; i < MAX_NUM_TICK_TASKS; i++) - { - if(tick_funcs[i]) - { - tick_funcs[i](); - } - } - current_tick++; + call_tick_tasks(); } |