diff options
Diffstat (limited to 'os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c')
-rw-r--r-- | os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c index 43e591440..d7d888fb7 100644 --- a/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c +++ b/os/hal/ports/SAMA/LLD/DMAv1/sama_xdmac.c @@ -287,6 +287,7 @@ sama_dma_channel_t* dmaChannelAllocate(uint32_t priority, /* Setting aic */
aicSetSourcePriority(id, priority);
aicEnableInt(id);
+
/* Enabling DMA clocks required by the current channel set.*/
if (id == ID_XDMAC0) {
pmcEnableXDMAC0();
|