removed type field from isr_register_handler() and friends

This commit is contained in:
Markus Fröschle
2014-01-14 07:48:38 +00:00
parent 3966bfd6ec
commit 9b89377caf
5 changed files with 26 additions and 34 deletions

View File

@@ -152,8 +152,7 @@ bool timer_init(uint8_t ch, uint8_t lvl, uint8_t pri)
/*
* Register the timer interrupt handler
*/
if (!isr_register_handler(ISR_DBUG_ISR,
TIMER_VECTOR(ch),
if (!isr_register_handler(TIMER_VECTOR(ch),
(int (*)(void *,void *)) timer_default_isr,
NULL,
(void *) &net_timer[ch])