drivers: dma: stm32: update function prototype after hal update
New HAL update changed the prototype of the check DMA flag functions. C0 use a const parameter for these functions. Signed-off-by: Fabrice DJIATSA <fabrice.djiatsa-ext@st.com>
This commit is contained in:
parent
0e41b07309
commit
f8d1d354c5
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ uint32_t dma_stm32_slot_to_channel(uint32_t id);
|
|||
#endif
|
||||
|
||||
typedef void (*dma_stm32_clear_flag_func)(DMA_TypeDef *DMAx);
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32G0X) && \
|
||||
#if !defined(CONFIG_SOC_SERIES_STM32C0X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32G0X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32H7X) && \
|
||||
!defined(CONFIG_SOC_SERIES_STM32U0X)
|
||||
typedef uint32_t (*dma_stm32_check_flag_func)(DMA_TypeDef *DMAx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue