diff options
author | David A. Mellis <d.mellis@arduino.cc> | 2008-11-08 21:31:55 +0000 |
---|---|---|
committer | David A. Mellis <d.mellis@arduino.cc> | 2008-11-08 21:31:55 +0000 |
commit | b2e063e13e76c42489b8e5216cd4e409ffd39ecc (patch) | |
tree | 442d281895a583dcc7da7d77a6d80fa5caec8e73 /cores/arduino/WInterrupts.c | |
parent | 68e9d04f91aa26daa4e3c701002610f2352039fd (diff) |
Switching to new signal (interrupt handler) names for compatibility with the ATmega328.
Diffstat (limited to 'cores/arduino/WInterrupts.c')
-rwxr-xr-x | cores/arduino/WInterrupts.c | 4 |
1 files changed, 2 insertions, 2 deletions
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](); } |