summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5969lp/driver
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/msp430fr5969lp/driver')
-rw-r--r--src/arch/msp430fr5969lp/driver/counter.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/msp430fr5969lp/driver/counter.cc b/src/arch/msp430fr5969lp/driver/counter.cc
index cd10b5c..7a5aca2 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