diff --git a/cpu/cc430/cc430-gpioint.c b/cpu/cc430/cc430-gpioint.c index 460d2a487..56cdbf151 100644 --- a/cpu/cc430/cc430-gpioint.c +++ b/cpu/cc430/cc430-gpioint.c @@ -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;