Fix type, diagnostic interrupt code on conditional

This commit is contained in:
dak664 2011-03-13 14:08:02 -04:00
parent 16a73eafd9
commit 59109b9893

View file

@ -76,6 +76,7 @@ ISR(AVR_OUTPUT_COMPARE_INT)
rcount=0; rcount=0;
radioontime++; radioontime++;
} }
}
#endif #endif
#if 1 #if 1
@ -166,7 +167,7 @@ clock_seconds(void)
return tmp; return tmp;
} }
#if 1 #ifdef HANG_ON_UNKNOWN_INTERRUPT
/* Useful for diagnosing unknown interrupts that reset the mcu. /* Useful for diagnosing unknown interrupts that reset the mcu.
* Currently set up for 12mega128rfa1. * Currently set up for 12mega128rfa1.
* For other mcus, enable all and then disable the conflicts. * For other mcus, enable all and then disable the conflicts.