From: Christian Lamparter Date: Fri, 1 Jul 2011 12:18:09 +0000 (+0200) Subject: carl9170 firmware: drop timer1 X-Git-Tag: 1.9.5~50 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ab43d8cf291c5a517841ac0ae445c9bc6d74cf5c;p=carl9170fw.git carl9170 firmware: drop timer1 Signed-off-by: Christian Lamparter --- diff --git a/carlfw/src/main.c b/carlfw/src/main.c index 97a4331..92b74a0 100644 --- a/carlfw/src/main.c +++ b/carlfw/src/main.c @@ -76,8 +76,6 @@ void clock_set(enum cpu_clock_t clock_, bool on) case AHB_80_88MHZ: break; } - - timer_init(1, (fw.ticks_per_usec * 25) >> 1); } static void init(void) @@ -145,10 +143,6 @@ static void timer0_isr(void) #endif /* CONFIG_CARL9170FW_DEBUG_LED_HEARTBEAT */ } -static void timer1_isr(void) -{ -} - static void handle_timer(void) { uint32_t intr; @@ -168,8 +162,6 @@ static void handle_timer(void) HANDLER(intr, BIT(0), timer0_isr); - HANDLER(intr, BIT(1), timer1_isr); - if (intr) DBG("Unhandled Timer Event %x", (unsigned int) intr);