diff options
Diffstat (limited to 'chip/stm32/watchdog.c')
-rw-r--r-- | chip/stm32/watchdog.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/stm32/watchdog.c b/chip/stm32/watchdog.c index d93d0a6b96..774768ad36 100644 --- a/chip/stm32/watchdog.c +++ b/chip/stm32/watchdog.c @@ -5,12 +5,11 @@ /* Watchdog driver */ -#include "board.h" #include "common.h" -#include "config.h" -#include "registers.h" #include "gpio.h" +#include "hooks.h" #include "hwtimer.h" +#include "registers.h" #include "task.h" #include "timer.h" #include "util.h" @@ -56,6 +55,7 @@ void watchdog_reload(void) hwtimer_reset_watchdog(); #endif } +DECLARE_HOOK(HOOK_TICK, watchdog_reload, HOOK_PRIO_DEFAULT); int watchdog_init(void) { |