From c4e9b301ed9d3943a3d4b6ec2fa708528e35c7d3 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Wed, 13 Mar 2019 16:31:25 +0100 Subject: msp430fr5996lp: aspectc++ support --- src/arch/msp430fr5969lp/driver/counter.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/arch') 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 -- cgit v1.2.3