Skip to content

Commit c9b6bac

Browse files
Fix comment
1 parent a0b420f commit c9b6bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

targets/TARGET_NUVOTON/TARGET_M480/dma_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ int dma_channel_free(int channelid)
8787
PDMA_T * pdma = dma_modbase();
8888

8989
// Make sure channel is disabled
90-
pdma->CHCTL &= ~(1 << channelid); // Enable this DMA channel
90+
pdma->CHCTL &= ~(1 << channelid);
9191

9292
// Also clear the request source for a channel in case still enabled.
9393
// This allows this request source to be assigned to a different channel later.

0 commit comments

Comments
 (0)