From b2e063e13e76c42489b8e5216cd4e409ffd39ecc Mon Sep 17 00:00:00 2001 From: "David A. Mellis" Date: Sat, 8 Nov 2008 21:31:55 +0000 Subject: Switching to new signal (interrupt handler) names for compatibility with the ATmega328. --- cores/arduino/WInterrupts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cores/arduino/WInterrupts.c') diff --git a/cores/arduino/WInterrupts.c b/cores/arduino/WInterrupts.c index bcee7b7..8b9003f 100755 --- a/cores/arduino/WInterrupts.c +++ b/cores/arduino/WInterrupts.c @@ -78,12 +78,12 @@ void attachInterruptTwi(void (*userFunc)(void) ) { } */ -SIGNAL(SIG_INTERRUPT0) { +SIGNAL(INT0_vect) { if(intFunc[EXTERNAL_INT_0]) intFunc[EXTERNAL_INT_0](); } -SIGNAL(SIG_INTERRUPT1) { +SIGNAL(INT1_vect) { if(intFunc[EXTERNAL_INT_1]) intFunc[EXTERNAL_INT_1](); } -- cgit v1.2.3-18-g5258