chore(hal): remove StdPeriph (#5023)
Co-authored-by: raphaelcoeffic <1050031+raphaelcoeffic@users.noreply.github.com> Co-authored-by: Malte Langermann <malte@langermann.net> Co-authored-by: 3djc <3djc@gh.com> Co-authored-by: Richard Li <richard.li@ces.hk>
This commit is contained in:
co-authored by
raphaelcoeffic
Malte Langermann
3djc
Richard Li
parent
fea402a6e3
commit
6579905088
@@ -89,13 +89,14 @@ const etx_hal_adc_driver_t _adc_driver = {
|
||||
};
|
||||
|
||||
#if defined(PWM_STICKS)
|
||||
#include "stm32_gpio.h"
|
||||
|
||||
static const stick_pwm_timer_t _sticks_timer = {
|
||||
PWM_GPIO,
|
||||
PWM_GPIOA_PINS,
|
||||
PWM_GPIO_AF,
|
||||
PWM_TIMER,
|
||||
PWM_IRQn,
|
||||
.GPIOx = PWM_GPIO,
|
||||
.GPIO_Pin = PWM_GPIOA_PINS,
|
||||
.GPIO_Alternate = PWM_GPIO_AF,
|
||||
.TIMx = PWM_TIMER,
|
||||
.TIM_IRQn = PWM_IRQn,
|
||||
};
|
||||
|
||||
#if !defined(PWM_IRQHandler)
|
||||
|
||||
Reference in New Issue
Block a user