projects
/
carl9170fw.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d57b31e
)
carl9170 firmware: drop timer1
author
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 1 Jul 2011 12:18:09 +0000
(14:18 +0200)
committer
Christian Lamparter
<chunkeey@googlemail.com>
Fri, 1 Jul 2011 12:18:09 +0000
(14:18 +0200)
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
carlfw/src/main.c
patch
|
blob
|
history
diff --git
a/carlfw/src/main.c
b/carlfw/src/main.c
index 97a4331c285d1a9e91b0eb0376f0ebc844437d6c..92b74a0a12a37316d930fccb3ecef19746940cbd 100644
(file)
--- 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);