aboutsummaryrefslogtreecommitdiff
path: root/cores/arduino/wiring.c
diff options
context:
space:
mode:
authorDavid A. Mellis <d.mellis@arduino.cc>2008-11-08 21:31:55 +0000
committerDavid A. Mellis <d.mellis@arduino.cc>2008-11-08 21:31:55 +0000
commitb2e063e13e76c42489b8e5216cd4e409ffd39ecc (patch)
tree442d281895a583dcc7da7d77a6d80fa5caec8e73 /cores/arduino/wiring.c
parent68e9d04f91aa26daa4e3c701002610f2352039fd (diff)
Switching to new signal (interrupt handler) names for compatibility with the ATmega328.
Diffstat (limited to 'cores/arduino/wiring.c')
-rwxr-xr-xcores/arduino/wiring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cores/arduino/wiring.c b/cores/arduino/wiring.c
index 19f348c..157d1d2 100755
--- a/cores/arduino/wiring.c
+++ b/cores/arduino/wiring.c
@@ -27,7 +27,7 @@
volatile unsigned long timer0_clock_cycles = 0;
volatile unsigned long timer0_millis = 0;
-SIGNAL(SIG_OVERFLOW0)
+SIGNAL(TIMER0_OVF_vect)
{
// timer 0 prescale factor is 64 and the timer overflows at 256
timer0_clock_cycles += 64UL * 256UL;