Mercurial > vordog
comparison vordog.c @ 9:b4f4a69ea86a v20080708
clear error after event handler for watchdog(9)
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 08 Jul 2008 20:29:07 +0800 |
parents | a28764b2a28e |
children | 3968bbb5303d |
comparison
equal
deleted
inserted
replaced
8:a28764b2a28e | 9:b4f4a69ea86a |
---|---|
228 vordog_wd9_init(timeout); | 228 vordog_wd9_init(timeout); |
229 sc->init_val = timeout; | 229 sc->init_val = timeout; |
230 } else { | 230 } else { |
231 vordog_wd9_reset(); | 231 vordog_wd9_reset(); |
232 } | 232 } |
233 *error = 0; | |
233 } | 234 } |
234 | 235 |
235 static void | 236 static void |
236 vordog_wd9_register(vd_softc_t sc) { | 237 vordog_wd9_register(vd_softc_t sc) { |
237 sc->wd9_tag = \ | 238 sc->wd9_tag = \ |