stm32/dma: disable after finishing
This commit is contained in:
parent
d0f2dc3abd
commit
ae948415a7
@ -99,8 +99,6 @@ pub(crate) async unsafe fn do_transfer(
|
|||||||
})
|
})
|
||||||
.await;
|
.await;
|
||||||
|
|
||||||
on_drop.defuse();
|
|
||||||
|
|
||||||
// TODO handle error
|
// TODO handle error
|
||||||
assert!(res == CH_STATUS_COMPLETED);
|
assert!(res == CH_STATUS_COMPLETED);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user