Project

General

Profile

Revision 321

correcting some problems

View differences:

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