Added info about Watchdog Timer.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -231,6 +231,7 @@ int main(
|
||||
/* Enable global interrupts */
|
||||
__enable_interrupt();
|
||||
for (;;) {
|
||||
wdt_reset();
|
||||
input_task();
|
||||
bacnet_task();
|
||||
led_task();
|
||||
|
||||
Reference in New Issue
Block a user