Skip to content

Commit f8d1d35

Browse files
djiatsaf-stkartben
authored andcommitted
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 <[email protected]>
1 parent 0e41b07 commit f8d1d35

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

drivers/dma/dma_stm32.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,8 @@ uint32_t dma_stm32_slot_to_channel(uint32_t id);
5555
#endif
5656

5757
typedef void (*dma_stm32_clear_flag_func)(DMA_TypeDef *DMAx);
58-
#if !defined(CONFIG_SOC_SERIES_STM32G0X) && \
58+
#if !defined(CONFIG_SOC_SERIES_STM32C0X) && \
59+
!defined(CONFIG_SOC_SERIES_STM32G0X) && \
5960
!defined(CONFIG_SOC_SERIES_STM32H7X) && \
6061
!defined(CONFIG_SOC_SERIES_STM32U0X)
6162
typedef uint32_t (*dma_stm32_check_flag_func)(DMA_TypeDef *DMAx);

0 commit comments

Comments
 (0)