From 7c4e291f70acdeafe4b688f74c7cfa06c5fa5deb Mon Sep 17 00:00:00 2001 From: "Andreas \"Paul\" Pauli" Date: Tue, 14 Jul 2015 18:40:45 +0200 Subject: [PATCH] board/stm32f3discovery: corrected timer 3 clock value --- 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 1a15306720..a47c93c10c 100644 --- a/boards/stm32f3discovery/include/periph_conf.h +++ b/boards/stm32f3discovery/include/periph_conf.h @@ -119,7 +119,7 @@ extern "C" { /* PWM 0 device configuration */ #define PWM_0_DEV TIM3 #define PWM_0_CHANNELS 4 -#define PWM_0_CLK (36000000U) +#define PWM_0_CLK (72000000U) #define PWM_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM3EN) #define PWM_0_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM3EN)) /* PWM 0 pin configuration */