mirror of
https://github.com/embassy-rs/embassy.git
synced 2024-11-22 06:42:32 +00:00
stm32 ringbuffered adc: fix for metapac changes
This commit is contained in:
parent
8cbb64226b
commit
1f30ad595b
@ -291,7 +291,7 @@ impl<'d, T: Instance> RingBufferedAdc<'d, T> {
|
||||
// Enable DMA mode
|
||||
w.set_dma(true);
|
||||
// Enable continuous conversions
|
||||
w.set_cont(vals::Cont::CONTINUOUS);
|
||||
w.set_cont(true);
|
||||
// DMA requests are issues as long as DMA=1 and data are converted.
|
||||
w.set_dds(vals::Dds::CONTINUOUS);
|
||||
// EOC flag is set at the end of each conversion.
|
||||
|
Loading…
Reference in New Issue
Block a user