Merge pull request #3138 from andresv/update-stm32-metapac
update stm32-metapac
This commit is contained in:
commit
9bdb697cd9
2 changed files with 3 additions and 3 deletions
|
@ -72,7 +72,7 @@ rand_core = "0.6.3"
|
|||
sdio-host = "0.5.0"
|
||||
critical-section = "1.1"
|
||||
#stm32-metapac = { version = "15" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cb8af7b3c2cfb88283e0ce979a318657853434c0" }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-e0cfd165fd8fffaa0df66a35eeca83b228496645" }
|
||||
|
||||
vcell = "0.1.3"
|
||||
nb = "1.0.0"
|
||||
|
@ -97,7 +97,7 @@ proc-macro2 = "1.0.36"
|
|||
quote = "1.0.15"
|
||||
|
||||
#stm32-metapac = { version = "15", default-features = false, features = ["metadata"]}
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cb8af7b3c2cfb88283e0ce979a318657853434c0", default-features = false, features = ["metadata"] }
|
||||
stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-e0cfd165fd8fffaa0df66a35eeca83b228496645", default-features = false, features = ["metadata"] }
|
||||
|
||||
[features]
|
||||
default = ["rt"]
|
||||
|
|
|
@ -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…
Add table
Reference in a new issue