From 28b08d8b6bd690e2819f6657b021be7cb562a731 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Wed, 7 Oct 2020 17:46:57 +0200 Subject: [PATCH] boards/nucleo-l152re: fix DMA configuration --- boards/nucleo-l152re/include/periph_conf.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boards/nucleo-l152re/include/periph_conf.h b/boards/nucleo-l152re/include/periph_conf.h index 384c1ae989..c6e80c4dd8 100644 --- a/boards/nucleo-l152re/include/periph_conf.h +++ b/boards/nucleo-l152re/include/periph_conf.h @@ -39,10 +39,10 @@ static const dma_conf_t dma_config[] = { { .stream = 4 }, /* DMA1 Channel 4 - USART1_TX */ }; -#define DMA_0_ISR isr_dma1_ch2 -#define DMA_1_ISR isr_dma1_ch3 -#define DMA_2_ISR isr_dma1_ch7 -#define DMA_3_ISR isr_dma1_ch4 +#define DMA_0_ISR isr_dma1_channel2 +#define DMA_1_ISR isr_dma1_channel3 +#define DMA_2_ISR isr_dma1_channel7 +#define DMA_3_ISR isr_dma1_channel4 #define DMA_NUMOF ARRAY_SIZE(dma_config) /** @} */