mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-11-09 16:41:21 +08:00
HAL_ChibiOS: added DMAMUX channel assignment calls
This commit is contained in:
1 parent
f4e31ce65b
commit
071d5e01af
3 files changed
+12
No files matched your search
@@ -823,6 +823,9 @@ void RCOutput::dma_allocate(Shared_DMA *ctx)
|
||||
chSysLock();
|
||||
group.dma = dmaStreamAllocI(group.dma_up_stream_id, 10, dma_irq_callback, &group);
|
||||
chSysUnlock();
|
||||
#if STM32_DMA_SUPPORTS_DMAMUX
|
||||
dmaSetRequestSource(group.dma, group.dma_up_channel);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user