stm32/dma: disable after finishing

This commit is contained in:
Dario Nieuwenhuis 2021-07-15 15:34:48 +02:00 committed by Bob McWhirter
parent d0f2dc3abd
commit ae948415a7

View File

@ -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);
} }