From 59109b9893f5eb759511f2d2631441da706cc838 Mon Sep 17 00:00:00 2001 From: dak664 Date: Sun, 13 Mar 2011 14:08:02 -0400 Subject: [PATCH] Fix type, diagnostic interrupt code on conditional --- cpu/avr/dev/clock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cpu/avr/dev/clock.c b/cpu/avr/dev/clock.c index 14a1671fb..a24afaa8c 100644 --- a/cpu/avr/dev/clock.c +++ b/cpu/avr/dev/clock.c @@ -76,6 +76,7 @@ ISR(AVR_OUTPUT_COMPARE_INT) rcount=0; radioontime++; } + } #endif #if 1 @@ -166,7 +167,7 @@ clock_seconds(void) return tmp; } -#if 1 +#ifdef HANG_ON_UNKNOWN_INTERRUPT /* Useful for diagnosing unknown interrupts that reset the mcu. * Currently set up for 12mega128rfa1. * For other mcus, enable all and then disable the conflicts.