aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.c
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-03-29 14:41:36 +0100
committerCristian Maglie <c.maglie@bug.st>2013-03-29 14:41:36 +0100
commitab41589c2b92607bec6b830dbebbbc74c4a46b0b (patch)
tree21b72dde286e9656fd77694f2d5709f9eb61df8c /cores/arduino/wiring.c
parentf39a246be56a746b15d347e41071df82b398e3d3 (diff)
Removed deprecated interrupt handlers
Fixes #831 #881 #955 #1123 #1140
Diffstat (limited to 'cores/arduino/wiring.c')
-rw-r--r--cores/arduino/wiring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cores/arduino/wiring.c b/cores/arduino/wiring.c
index ac8bb6f..a3c4390 100644
--- a/cores/arduino/wiring.c
+++ b/cores/arduino/wiring.c
@@ -42,9 +42,9 @@ volatile unsigned long timer0_millis = 0;
static unsigned char timer0_fract = 0;
#if defined(__AVR_ATtiny24__) || defined(__AVR_ATtiny44__) || defined(__AVR_ATtiny84__)
-SIGNAL(TIM0_OVF_vect)
+ISR(TIM0_OVF_vect)
#else
-SIGNAL(TIMER0_OVF_vect)
+ISR(TIMER0_OVF_vect)
#endif
{
// copy these to local variables so they can be stored in registers