From be23c931b57eb236bcbff2da4fbc52a825f984ce Mon Sep 17 00:00:00 2001 From: "Andreas \"Paul\" Pauli" Date: Tue, 14 Jul 2015 18:40:06 +0200 Subject: [PATCH] board/nucleo-f303: corrected timer 3 clock value --- boards/nucleo-f303/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/nucleo-f303/include/periph_conf.h b/boards/nucleo-f303/include/periph_conf.h index ae4014f557..5e88444b1b 100755 --- a/boards/nucleo-f303/include/periph_conf.h +++ b/boards/nucleo-f303/include/periph_conf.h @@ -120,7 +120,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 */