did more changes to interrupt code, but still crashes in networking
This commit is contained in:
@@ -158,7 +158,7 @@ bool timer_init(uint8_t ch, uint8_t lvl, uint8_t pri)
|
||||
/*
|
||||
* Register the timer interrupt handler
|
||||
*/
|
||||
if (!isr_register_handler(TIMER_VECTOR(ch),
|
||||
if (!isr_register_handler(TIMER_VECTOR(ch), 3, 0,
|
||||
(int (*)(void *,void *)) timer_default_isr,
|
||||
NULL,
|
||||
(void *) &net_timer[ch])
|
||||
|
||||
Reference in New Issue
Block a user