From cf7c18b76fc83ab3218d9a42b3ed3a5c1687f7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20Nohlg=C3=A5rd?= Date: Sun, 4 Oct 2015 00:26:40 +0200 Subject: [PATCH] boards/stm32f3discovery: Update to match timer_init API change --- boards/stm32f3discovery/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/stm32f3discovery/include/periph_conf.h b/boards/stm32f3discovery/include/periph_conf.h index ea71b73df0..d0222a2a5a 100644 --- a/boards/stm32f3discovery/include/periph_conf.h +++ b/boards/stm32f3discovery/include/periph_conf.h @@ -49,7 +49,7 @@ extern "C" { /* Timer 0 configuration */ #define TIMER_0_DEV TIM2 #define TIMER_0_CHANNELS 4 -#define TIMER_0_PRESCALER (71U) +#define TIMER_0_FREQ (CLOCK_CORECLOCK) #define TIMER_0_MAX_VALUE (0xffffffff) #define TIMER_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM2EN) #define TIMER_0_ISR isr_tim2