We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0b420f commit c9b6bacCopy full SHA for c9b6bac
targets/TARGET_NUVOTON/TARGET_M480/dma_api.c
@@ -87,7 +87,7 @@ int dma_channel_free(int channelid)
87
PDMA_T * pdma = dma_modbase();
88
89
// Make sure channel is disabled
90
- pdma->CHCTL &= ~(1 << channelid); // Enable this DMA channel
+ pdma->CHCTL &= ~(1 << channelid);
91
92
// Also clear the request source for a channel in case still enabled.
93
// This allows this request source to be assigned to a different channel later.
0 commit comments