projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
wizard: Fix crash for old python versions
[bertos.git]
/
boards
/
triface
/
examples
/
triface
/
main.c
diff --git
a/boards/triface/examples/triface/main.c
b/boards/triface/examples/triface/main.c
index 8da45a688a3958f84c24c01d108eb17b67908369..045e6522088271989cef49a661aaaa6427f84065 100644
(file)
--- a/
boards/triface/examples/triface/main.c
+++ b/
boards/triface/examples/triface/main.c
@@
-59,6
+59,7
@@
#include <drv/buzzer.h>
#include <drv/ser.h>
#include <drv/adc.h>
+#include <drv/wdt_avr.h>
#include <mware/parser.h>
#include <net/keytag.h>
@@
-73,6
+74,8
@@
static void init(void)
timer_init();
adc_init();
buz_init();
+ MCUSR = 0;
+ wdt_disable();
INPUT_INIT();
}