diff --git a/flight/board_hw_defs/revolution/board_hw_defs.c b/flight/board_hw_defs/revolution/board_hw_defs.c index c54612971..b54dd119d 100644 --- a/flight/board_hw_defs/revolution/board_hw_defs.c +++ b/flight/board_hw_defs/revolution/board_hw_defs.c @@ -455,8 +455,7 @@ void PIOS_SPI_flash_irq_handler(void) */ #include void PIOS_OVERO_irq_handler(void); -void DMA1_Streamr0_IRQHandler(void) __attribute__((alias("PIOS_OVERO_irq_handler"))); -void DMA1_Streamr7_IRQHandler(void) __attribute__((alias("PIOS_OVERO_irq_handler"))); +void DMA1_Stream7_IRQHandler(void) __attribute__((alias("PIOS_OVERO_irq_handler"))); static const struct pios_overo_cfg pios_overo_cfg = { .regs = SPI3, .remap = GPIO_AF_SPI3, @@ -473,9 +472,9 @@ static const struct pios_overo_cfg pios_overo_cfg = { }, .use_crc = false, .dma = { - .irq = { + .irq = { // Note this is the stream ID that triggers interrupts (in this case TX) - .flags = (DMA_IT_TCIF0 | DMA_IT_TEIF0 | DMA_IT_TCIF7 | DMA_IT_TEIF7), //DMA_IT_HTIF7), + .flags = (DMA_IT_TCIF7), .init = { .NVIC_IRQChannel = DMA1_Stream7_IRQn, .NVIC_IRQChannelPreemptionPriority = PIOS_IRQ_PRIO_HIGH, @@ -483,7 +482,7 @@ static const struct pios_overo_cfg pios_overo_cfg = { .NVIC_IRQChannelCmd = ENABLE, }, }, - + .rx = { .channel = DMA1_Stream0, .init = {