drivers: pwm: pwm_stm32: F1X changes
Use "const LL_TIM_IC_GetCaptureCHx" & "const LL_TIM_IsActiveFlag_CCx" with STM32F1X series, following changes in stm32cube:stm32f1xx:drivers: include:stm32f1xx_ll_tim.h Signed-off-by: Abderrahmane Jarmouni <abderrahmane.jarmouni-ext@st.com>
This commit is contained in:
parent
c3835e0cdf
commit
7bf996d3a7
@ -141,8 +141,7 @@ static void (*const set_timer_compare[TIMER_MAX_CH])(TIM_TypeDef *,
|
||||
};
|
||||
|
||||
/** Channel to capture get function mapping. */
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32F1X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32F4X) && \
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32F4X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32G4X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32MP1X)
|
||||
static uint32_t __maybe_unused (*const get_channel_capture[])(const TIM_TypeDef *) = {
|
||||
@ -167,8 +166,7 @@ static void __maybe_unused (*const disable_capture_interrupt[])(TIM_TypeDef *) =
|
||||
};
|
||||
|
||||
/** Channel to is capture active flag mapping. */
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32F1X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32F4X) && \
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32F4X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32G4X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32MP1X)
|
||||
static uint32_t __maybe_unused (*const is_capture_active[])(const TIM_TypeDef *) = {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user