From 6f44415b19f92d8c6d91690c309ae840245e7da0 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Oct 2011 17:36:31 +1100 Subject: [PATCH] desktop: make ISRs normal C++ functions this will make it possible to add an abstract register simulation class that allows us to intercept device IO --- libraries/Desktop/include/avr/interrupt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/Desktop/include/avr/interrupt.h b/libraries/Desktop/include/avr/interrupt.h index 7c98c5fb19..09ac4f1494 100644 --- a/libraries/Desktop/include/avr/interrupt.h +++ b/libraries/Desktop/include/avr/interrupt.h @@ -3,7 +3,7 @@ #include "io.h" -#define ISR(vector,...) extern "C" void vector(void); \ +#define ISR(vector,...) void vector(void); \ void vector(void) #define cli()