diff options
-rw-r--r-- | libmaple/dma.c | 14 | ||||
-rw-r--r-- | support/ld/names.inc | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/libmaple/dma.c b/libmaple/dma.c index dc8f043..969f9ca 100644 --- a/libmaple/dma.c +++ b/libmaple/dma.c @@ -331,31 +331,31 @@ static inline void dispatch_handler(dma_dev *dev, dma_channel channel) { } } -void __irq_dma_channel1(void) { +void __irq_dma1_channel1(void) { dispatch_handler(DMA1, DMA_CH1); } -void __irq_dma_channel2(void) { +void __irq_dma1_channel2(void) { dispatch_handler(DMA1, DMA_CH2); } -void __irq_dma_channel3(void) { +void __irq_dma1_channel3(void) { dispatch_handler(DMA1, DMA_CH3); } -void __irq_dma_channel4(void) { +void __irq_dma1_channel4(void) { dispatch_handler(DMA1, DMA_CH4); } -void __irq_dma_channel5(void) { +void __irq_dma1_channel5(void) { dispatch_handler(DMA1, DMA_CH5); } -void __irq_dma_channel6(void) { +void __irq_dma1_channel6(void) { dispatch_handler(DMA1, DMA_CH6); } -void __irq_dma_channel7(void) { +void __irq_dma1_channel7(void) { dispatch_handler(DMA1, DMA_CH7); } diff --git a/support/ld/names.inc b/support/ld/names.inc index 4045836..6d7ff6e 100644 --- a/support/ld/names.inc +++ b/support/ld/names.inc @@ -26,13 +26,13 @@ EXTERN(__irq_exti1) EXTERN(__irq_exti2) EXTERN(__irq_exti3) EXTERN(__irq_exti4) -EXTERN(__irq_dma_channel1) -EXTERN(__irq_dma_channel2) -EXTERN(__irq_dma_channel3) -EXTERN(__irq_dma_channel4) -EXTERN(__irq_dma_channel5) -EXTERN(__irq_dma_channel6) -EXTERN(__irq_dma_channel7) +EXTERN(__irq_dma1_channel1) +EXTERN(__irq_dma1_channel2) +EXTERN(__irq_dma1_channel3) +EXTERN(__irq_dma1_channel4) +EXTERN(__irq_dma1_channel5) +EXTERN(__irq_dma1_channel6) +EXTERN(__irq_dma1_channel7) EXTERN(__irq_adc) EXTERN(__irq_usb_hp_can_tx) EXTERN(__irq_usb_lp_can_rx0) |