summaryrefslogtreecommitdiff
path: root/firmware/target/mips/ingenic_jz47xx
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx')
-rw-r--r--firmware/target/mips/ingenic_jz47xx/kernel-jz4740.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/kernel-jz4740.c b/firmware/target/mips/ingenic_jz47xx/kernel-jz4740.c
index 62176cee24..dcfdfd6a38 100644
--- a/firmware/target/mips/ingenic_jz47xx/kernel-jz4740.c
+++ b/firmware/target/mips/ingenic_jz47xx/kernel-jz4740.c
@@ -24,8 +24,6 @@
24#include "kernel.h" 24#include "kernel.h"
25#include "jz4740.h" 25#include "jz4740.h"
26 26
27extern void (*tick_funcs[MAX_NUM_TICK_TASKS])(void);
28
29#define USE_RTC_CLOCK 0 27#define USE_RTC_CLOCK 0
30void tick_start(unsigned int interval_in_ms) 28void tick_start(unsigned int interval_in_ms)
31{ 29{
@@ -70,13 +68,6 @@ void TCU0(void)
70{ 68{
71 __tcu_clear_full_match_flag(0); 69 __tcu_clear_full_match_flag(0);
72 70
73 int i;
74
75 /* Run through the list of tick tasks */ 71 /* Run through the list of tick tasks */
76 for(i = 0; i < MAX_NUM_TICK_TASKS; i++) 72 call_tick_tasks();
77 {
78 if(tick_funcs[i])
79 tick_funcs[i]();
80 }
81 current_tick++;
82} 73}