diff options
Diffstat (limited to 'firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c index 4f878d4ed3..76917c8c82 100644 --- a/firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c +++ b/firmware/target/arm/s3c2440/gigabeat-fx/kernel-meg-fx.c @@ -24,8 +24,6 @@ #include "timer.h" #include "thread.h" -extern void (*tick_funcs[MAX_NUM_TICK_TASKS])(void); - void tick_start(unsigned int interval_in_ms) { /* @@ -62,18 +60,8 @@ void tick_start(unsigned int interval_in_ms) void TIMER4(void) { - 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(); SRCPND = TIMER4_MASK; INTPND = TIMER4_MASK; |