Browse Source

Merge pull request #342 from FrankBoesing/patch-5

Make sure DONE Bit is cleared.
main
Paul Stoffregen 5 years ago
parent
commit
e23d64999b
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