mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-21 22:32:29 +00:00
fix(stm32): enable dma half transfer interrupt for buffereduart
This commit is contained in:
parent
ee25f14b20
commit
0e477a4df5
@ -777,6 +777,7 @@ impl<'a, W: Word> ReadableRingBuffer<'a, W> {
|
||||
let dir = Dir::PeripheralToMemory;
|
||||
let data_size = W::size();
|
||||
|
||||
options.half_transfer_ir = true;
|
||||
options.complete_transfer_ir = true;
|
||||
options.circular = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user