board/stm32f3discovery: corrected timer 4 clock value

This commit is contained in:
Andreas "Paul" Pauli 2015-07-15 17:33:44 +02:00
parent 7c4e291f70
commit 84c758e65a

View File

@ -134,7 +134,7 @@ extern "C" {
/* PWM 1 device configuration */
#define PWM_1_DEV TIM4
#define PWM_1_CHANNELS 4
#define PWM_1_CLK (36000000U)
#define PWM_1_CLK (72000000U)
#define PWM_1_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM4EN)
#define PWM_1_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM4EN))
/* PWM 1 pin configuration */