mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-05-28 03:03:59 -04:00
Rename GPDMA channel disable_force() to disable().
There was nothing particularly forceful about the disable_force() code. Whether it's a "forced" operation depends on what happens before and after (HALT and ACTIVE flags are involved in a smooth disabling of the channel).
This commit is contained in:
parent
43d6098c48
commit
c75c167c25
6 changed files with 8 additions and 8 deletions
|
@ -54,7 +54,7 @@ void Channel::configure(
|
|||
const LLI& first_lli,
|
||||
const uint32_t config
|
||||
) const {
|
||||
disable_force();
|
||||
disable();
|
||||
clear_interrupts();
|
||||
|
||||
LPC_GPDMA_Channel_Type* const channel = &LPC_GPDMA->CH[number];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue