diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-09-23 01:32:55 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2024-09-23 02:06:58 +0200 |
| commit | 59dcffbc6021ab1aaef1dd546aa7e707b438e45f (patch) | |
| tree | 566d1e50cda248a6853d4771e846c5cd122c889c /embassy-stm32/src/dma | |
| parent | f2f96a731c1c08045a210083d307bc63814ae6bf (diff) | |
stm32/gpdma: clear tr3 just in case.
Diffstat (limited to 'embassy-stm32/src/dma')
| -rw-r--r-- | embassy-stm32/src/dma/gpdma.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-stm32/src/dma/gpdma.rs b/embassy-stm32/src/dma/gpdma.rs index 792ddc4e8..a877bb8d4 100644 --- a/embassy-stm32/src/dma/gpdma.rs +++ b/embassy-stm32/src/dma/gpdma.rs | |||
| @@ -245,6 +245,7 @@ impl<'a> Transfer<'a> { | |||
| 245 | }); | 245 | }); |
| 246 | w.set_reqsel(request); | 246 | w.set_reqsel(request); |
| 247 | }); | 247 | }); |
| 248 | ch.tr3().write(|_| {}); // no address offsets. | ||
| 248 | ch.br1().write(|w| w.set_bndt(bndt)); | 249 | ch.br1().write(|w| w.set_bndt(bndt)); |
| 249 | 250 | ||
| 250 | match dir { | 251 | match dir { |
