isr updates

This commit is contained in:
Mariano Alvira 2010-03-04 18:52:04 -05:00
parent 0037fd9527
commit 20f6a749d1
2 changed files with 32 additions and 6 deletions

View file

@ -21,7 +21,7 @@ void toggle_led(void) {
}
}
void tmr_isr(void) {
void tmr0_isr(void) {
toggle_led();
*TMR0_SCTRL = 0;
@ -58,9 +58,10 @@ void main(void) {
led_on();
enable_tmr_irq();
enable_irq(TMR);
while(1) {
while(1) {
/* sit here and let the interrupts do the work */
continue;
};
}