[cpu cc430 gpioint]

* some improvements to the debouncing
dev/timer
Oliver Hahm 11 years ago
parent e4a45e8330
commit 4433b5cf5b

@ -180,7 +180,6 @@ interrupt (PORT1_VECTOR) __attribute__ ((naked)) port1_isr(void) {
cb[0][ifg_num]();
}
}
P1IFG = 0x00;
P1IE = int_enable;
__exit_isr();
@ -223,6 +222,9 @@ interrupt (PORT2_VECTOR) __attribute__ ((naked)) port2_isr(void) {
cb[1][ifg_num]();
}
}
else {
cb[1][ifg_num]();
}
P2IFG = 0x00;
P2IE = int_enable;

Loading…
Cancel
Save