Skip to content
GitLab
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Jan Kasprzak
tinyboard
Commits
0a2d9637
Commit
0a2d9637
authored
May 10, 2013
by
Jan Kasprzak
Browse files
wdt.c: fix for interrupt-only watchdog mode
parent
0174f645
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/step-up/wdt.c
View file @
0a2d9637
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment