Browse Source

Make sure DONE Bit is cleared.

teensy4-core
Frank 6 years ago
parent
commit
afefd37bc7
No account linked to committer's email address
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      teensy3/DMAChannel.h

+ 1
- 0
teensy3/DMAChannel.h View File

@@ -380,6 +380,7 @@ protected:
DMABaseClass() {}

static inline void copy_tcd(TCD_t *dst, const TCD_t *src) {
dst->CSR = 0;
const uint32_t *p = (const uint32_t *)src;
uint32_t *q = (uint32_t *)dst;
uint32_t t1, t2, t3, t4;

Loading…
Cancel
Save