mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
board/nucleo-f303: corrected timer 3 clock value
This commit is contained in:
parent
8aa0dde3da
commit
be23c931b5
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user