summaryrefslogtreecommitdiff
path: root/chip/stm32/hwtimer.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/hwtimer.c')
-rw-r--r--chip/stm32/hwtimer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/hwtimer.c b/chip/stm32/hwtimer.c
index 0a53cfb4bc..cefd650653 100644
--- a/chip/stm32/hwtimer.c
+++ b/chip/stm32/hwtimer.c
@@ -366,7 +366,7 @@ void hwtimer_setup_watchdog(void)
* to obtain the number of times TIM_CLOCK_LSB can overflow before we
* generate an interrupt.
*/
- timer->arr = timer->cnt = WATCHDOG_PERIOD_MS * MSEC / (1 << 16);
+ timer->arr = timer->cnt = AUX_TIMER_PERIOD_MS * MSEC / (1 << 16);
/* count on every TIM_CLOCK_LSB overflow */
timer->psc = 0;