mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/nucleo-f334: Update to match timer_init API change
This commit is contained in:
parent
373634c135
commit
c40683b4d0
@ -50,7 +50,7 @@ extern "C" {
|
||||
/* Timer 0 configuration */
|
||||
#define TIMER_0_DEV TIM2
|
||||
#define TIMER_0_CHANNELS 4
|
||||
#define TIMER_0_PRESCALER (71U)
|
||||
#define TIMER_0_FREQ (CLOCK_CORECLOCK)
|
||||
#define TIMER_0_MAX_VALUE (0xffffffff)
|
||||
#define TIMER_0_CLKEN() (RCC->APB1ENR |= RCC_APB1ENR_TIM2EN)
|
||||
#define TIMER_0_ISR isr_tim2
|
||||
|
Loading…
Reference in New Issue
Block a user