1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

board/stm32f3discovery: corrected timer 3 clock value

This commit is contained in:
Andreas "Paul" Pauli 2015-07-14 18:40:45 +02:00
parent be23c931b5
commit 7c4e291f70

View File

@ -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 */