Commit 0a2d9637 authored by Jan Kasprzak's avatar Jan Kasprzak
Browse files

wdt.c: fix for interrupt-only watchdog mode

parent 0174f645
......@@ -6,8 +6,7 @@
void init_wdt()
{
wdt_enable(WDTO_60MS);
WDTCR |= _BV(WDIE);
WDTCR = _BV(WDIE) | _BV(WDP1); // interrupt mode, 64 ms
}
void susp_wdt()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment