mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
dma: remove IE flag at end of transfer
This should have no effect since the channel is disabled, but it's much better to leave unused modules in predictable states.
This commit is contained in:
parent
3aa1471ac5
commit
ef8707ee9d
1 changed files with 1 additions and 0 deletions
|
@ -146,6 +146,7 @@ bool dma_transfer_async(int channel, dma_size_t size, uint blocks,
|
|||
static void dma_interrupt_transfer_ended(int channel)
|
||||
{
|
||||
channel_t *ch = dma_channel(channel);
|
||||
ch->CHCR.IE = 0;
|
||||
ch->CHCR.DE = 0;
|
||||
ch->CHCR.TE = 0;
|
||||
|
||||
|
|
Loading…
Reference in a new issue