mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-12-15 15:59:39 -05:00
SYNC
This commit is contained in:
parent
29ec87a9ad
commit
44638e504b
166 changed files with 8700 additions and 3967 deletions
|
|
@ -313,7 +313,7 @@ public:
|
|||
return LPC_GPDMA->CH[number].CONFIG & (1U << 0);
|
||||
}
|
||||
|
||||
void disable_force() const {
|
||||
void disable() const {
|
||||
LPC_GPDMA->CH[number].CONFIG &= ~(1U << 0);
|
||||
}
|
||||
|
||||
|
|
@ -349,7 +349,7 @@ public:
|
|||
|
||||
void disable() const {
|
||||
for(const auto& channel : channels) {
|
||||
channel.disable_force();
|
||||
channel.disable();
|
||||
}
|
||||
LPC_GPDMA->CONFIG &= ~(1U << 0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue