summaryrefslogtreecommitdiff
path: root/chip/stm32/dma.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/stm32/dma.c')
-rw-r--r--chip/stm32/dma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chip/stm32/dma.c b/chip/stm32/dma.c
index f6dfd89aa8..71fa4e22f1 100644
--- a/chip/stm32/dma.c
+++ b/chip/stm32/dma.c
@@ -238,6 +238,7 @@ void dma_clear_isr(enum dma_channel channel)
dma->ifcr |= STM32_DMA_ISR_ALL(channel);
}
+#ifndef CHIP_FAMILY_STM32F0
void dma_event_interrupt_channel_4(void)
{
dma_clear_isr(STM32_DMAC_CH4);
@@ -269,3 +270,4 @@ void dma_event_interrupt_channel_7(void)
task_wake(id[STM32_DMAC_CH7]);
}
DECLARE_IRQ(STM32_IRQ_DMA_CHANNEL_7, dma_event_interrupt_channel_7, 3);
+#endif /* !CHIP_FAMILY_STM32F0 */