Revision 321
correcting some problems
timer.c | ||
---|---|---|
58 | 58 |
return (sys_irqsetpolicy(TIMER0_IRQ, IRQ_REENABLE, interrupt_id)); |
59 | 59 |
} |
60 | 60 |
|
61 |
uint32_t no_interrupts = 0; |
|
61 |
static uint32_t no_interrupts = 0;
|
|
62 | 62 |
void (timer_int_handler)() { |
63 | 63 |
no_interrupts++; |
64 | 64 |
} |
65 |
|
|
66 |
uint32_t (timer_get_no_interrupts)(void){ return no_interrupts; } |
Also available in: Unified diff