]> www.fi.muni.cz Git - tinyboard.git/blob - projects/step-up/wdt.c
Watchdog handling moved to its own source file
[tinyboard.git] / projects / step-up / wdt.c
1 #include <avr/io.h>
2 #include <avr/interrupt.h>
3 #include <avr/wdt.h>
4
5 #include "lights.h"
6
7 void init_wdt()
8 {
9         wdt_enable(WDTO_1S);
10 }
11
12 void susp_wdt()
13 {
14         wdt_disable();
15 }
16