X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?p=tinyboard.git;a=blobdiff_plain;f=projects%2Fstep-up%2Fwdt.c;fp=projects%2Fstep-up%2Fwdt.c;h=050c0c550f5c762242a345fbb80e81db5915f2c3;hp=0000000000000000000000000000000000000000;hb=56ad7e84d0f55301169aa2c9e8f80f0c871f63da;hpb=aea7cb9af6c9ccd3c7dea1f5e5e71d4c3f6cc0bc diff --git a/projects/step-up/wdt.c b/projects/step-up/wdt.c new file mode 100644 index 0000000..050c0c5 --- /dev/null +++ b/projects/step-up/wdt.c @@ -0,0 +1,16 @@ +#include +#include +#include + +#include "lights.h" + +void init_wdt() +{ + wdt_enable(WDTO_1S); +} + +void susp_wdt() +{ + wdt_disable(); +} +