]> www.fi.muni.cz Git - bike-lights.git/commit
tmr.c: combine watchdog IRQ and watchdog reset
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 28 May 2013 20:29:06 +0000 (22:29 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Tue, 28 May 2013 20:29:06 +0000 (22:29 +0200)
commitb1cfa25b137d2d9d2b23354982e4632ab6e60b5c
tree426cf2b0b2bbb7dd7a0fab4d53fcb348bfa898be
parent90ffd122f4387d18e8d7cf7d2a507c719409d4e5
tmr.c: combine watchdog IRQ and watchdog reset

Fortunately, WDT reset can be combined with WDT interrupt. The procedure
is to reenable WDIE each time, or the next WDT timeout will be reset.
firmware/tmr.c