osd-contiki/src/isr.c

12 lines
168 B
C
Raw Normal View History

2010-02-26 22:15:26 +01:00
#include <mc1322x.h>
#include <types.h>
2009-04-21 00:38:45 +02:00
2009-04-24 21:42:15 +02:00
__attribute__ ((section (".irq")))
__attribute__ ((interrupt("IRQ")))
void irq(void)
2009-04-21 00:38:45 +02:00
{
2009-11-04 23:30:18 +01:00
if(tmr_isr != 0) {
2009-05-05 22:24:47 +02:00
tmr_isr();
2009-04-24 22:04:04 +02:00
}
2009-04-21 00:38:45 +02:00
}