summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-13 16:31:25 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-13 16:31:25 +0100
commitc4e9b301ed9d3943a3d4b6ec2fa708528e35c7d3 (patch)
tree5e8385819264cdb9d192740c70dbf0a80e4a02eb /src
parent02b05e938b266979507915c2e887fd87c86ff26a (diff)
msp430fr5996lp: aspectc++ support
Diffstat (limited to 'src')
-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