summaryrefslogtreecommitdiff
path: root/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c')
-rw-r--r--emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c b/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
new file mode 100644
index 00000000000..7b554e65f61
--- /dev/null
+++ b/emulators/simulavr/patches/patch-regress_timertest_timer_16bit.c
@@ -0,0 +1,24 @@
+$NetBSD: patch-regress_timertest_timer_16bit.c,v 1.1 2013/09/12 06:20:35 mef Exp $
+
+error: attempt to use poisoned "VARNAME"
+
+--- work/simulavr-1.0.0/regress/timertest/timer_16bit.c 2012-02-13 00:26:38.000000000 +0900
++++ regress/timertest/timer_16bit.c 2013-08-08 09:25:31.000000000 +0900
+@@ -4,14 +4,14 @@
+ volatile int timer_ticks;
+
+ #ifdef T3TEST
+-ISR(SIG_OVERFLOW3) {
++ISR(TIMER3_OVF_vect) {
+ timer_ticks++;
+ }
+-ISR(SIG_OUTPUT_COMPARE3B) {
++ISR(TIMER3_COMPB_vect) {
+ timer_ticks++;
+ }
+ #else
+-ISR(SIG_OVERFLOW1) {
++ISR(TIMER1_OVF_vect) {
+ timer_ticks++;
+ }
+ #endif