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

wdt.c: fix for interrupt-only watchdog mode

parent 0174f645
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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()