Added info about Watchdog Timer.

This commit is contained in:
skarg
2009-08-19 20:45:09 +00:00
parent 2417a843d2
commit e513ffa412
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -58,6 +58,6 @@ void init(
DDRD = 0;
PORTD = 0;
/* Configure the watchdog timer - Disabled for testing */
BIT_CLEAR(MCUSR, WDRF);
WDTCSR = 0;
/* wdt_enable(WDTO_2S); */
wdt_disable();
}
+1
View File
@@ -231,6 +231,7 @@ int main(
/* Enable global interrupts */
__enable_interrupt();
for (;;) {
wdt_reset();
input_task();
bacnet_task();
led_task();