board/stm32f3discovery: corrected timer 4 clock value
This commit is contained in:
parent
7c4e291f70
commit
84c758e65a
@ -134,7 +134,7 @@ extern "C" {
|
|||||||
/* PWM 1 device configuration */
|
/* PWM 1 device configuration */
|
||||||
#define PWM_1_DEV TIM4
|
#define PWM_1_DEV TIM4
|
||||||
#define PWM_1_CHANNELS 4
|
#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_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM4EN)
|
||||||
#define PWM_1_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM4EN))
|
#define PWM_1_CLKDIS() (RCC->APB1ENR &= ~(RCC_APB1ENR_TIM4EN))
|
||||||
/* PWM 1 pin configuration */
|
/* PWM 1 pin configuration */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user