stm32/dma: only set TRBUFF in DMAv1 (H7)
This commit is contained in:
parent
3655048e0f
commit
36be877ba3
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ pub(crate) async unsafe fn do_transfer(
|
|||
w.set_pinc(vals::Inc::FIXED);
|
||||
w.set_teie(true);
|
||||
w.set_tcie(true);
|
||||
#[cfg(dma_v1)]
|
||||
w.set_trbuff(true);
|
||||
w.set_en(true);
|
||||
|
||||
|
|
Loading…
Reference in a new issue