diff --git a/src/arch/msp430fr5969lp/driver/counter.cc b/src/arch/msp430fr5969lp/driver/counter.cc index cd10b5cc379282d1989076295818f0a528c142dd..7a5aca2af8df2d1d3a5ccdbfc5363fef30b5e9df 100644 --- a/src/arch/msp430fr5969lp/driver/counter.cc +++ b/src/arch/msp430fr5969lp/driver/counter.cc @@ -8,6 +8,7 @@ Counter counter; +#ifndef __acweaving __attribute__((interrupt(TIMER2_A1_VECTOR))) void handle_timer2_overflow() { if (TA2IV == 0x0e) { @@ -16,3 +17,4 @@ __attribute__((interrupt(TIMER2_A1_VECTOR))) void handle_timer2_overflow() } } } +#endif