diff options
| author | Dario Nieuwenhuis <[email protected]> | 2024-07-02 14:01:02 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-02 14:01:02 +0000 |
| commit | 9bdb697cd96d36dd6e42e8680e3f2f7983e35f74 (patch) | |
| tree | 4ff25b07c97ff4b7970fb5b62c6ef5db1589e8a8 /embassy-stm32 | |
| parent | 6f21d5e478292352df5cabcc1aa302ae7f8998a3 (diff) | |
| parent | 1f30ad595b9ac2f3cdf1ecaa24e6d96d16286a16 (diff) | |
Merge pull request #3138 from andresv/update-stm32-metapac
update stm32-metapac
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-stm32/src/adc/ringbuffered_v2.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index d0e7ffd6d..523bacb11 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -72,7 +72,7 @@ rand_core = "0.6.3" | |||
| 72 | sdio-host = "0.5.0" | 72 | sdio-host = "0.5.0" |
| 73 | critical-section = "1.1" | 73 | critical-section = "1.1" |
| 74 | #stm32-metapac = { version = "15" } | 74 | #stm32-metapac = { version = "15" } |
| 75 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cb8af7b3c2cfb88283e0ce979a318657853434c0" } | 75 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-e0cfd165fd8fffaa0df66a35eeca83b228496645" } |
| 76 | 76 | ||
| 77 | vcell = "0.1.3" | 77 | vcell = "0.1.3" |
| 78 | nb = "1.0.0" | 78 | nb = "1.0.0" |
| @@ -97,7 +97,7 @@ proc-macro2 = "1.0.36" | |||
| 97 | quote = "1.0.15" | 97 | quote = "1.0.15" |
| 98 | 98 | ||
| 99 | #stm32-metapac = { version = "15", default-features = false, features = ["metadata"]} | 99 | #stm32-metapac = { version = "15", default-features = false, features = ["metadata"]} |
| 100 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-cb8af7b3c2cfb88283e0ce979a318657853434c0", default-features = false, features = ["metadata"] } | 100 | stm32-metapac = { git = "https://github.com/embassy-rs/stm32-data-generated", tag = "stm32-data-e0cfd165fd8fffaa0df66a35eeca83b228496645", default-features = false, features = ["metadata"] } |
| 101 | 101 | ||
| 102 | [features] | 102 | [features] |
| 103 | default = ["rt"] | 103 | default = ["rt"] |
diff --git a/embassy-stm32/src/adc/ringbuffered_v2.rs b/embassy-stm32/src/adc/ringbuffered_v2.rs index fb29d9a8c..bc8ef2d13 100644 --- a/embassy-stm32/src/adc/ringbuffered_v2.rs +++ b/embassy-stm32/src/adc/ringbuffered_v2.rs | |||
| @@ -291,7 +291,7 @@ impl<'d, T: Instance> RingBufferedAdc<'d, T> { | |||
| 291 | // Enable DMA mode | 291 | // Enable DMA mode |
| 292 | w.set_dma(true); | 292 | w.set_dma(true); |
| 293 | // Enable continuous conversions | 293 | // Enable continuous conversions |
| 294 | w.set_cont(vals::Cont::CONTINUOUS); | 294 | w.set_cont(true); |
| 295 | // DMA requests are issues as long as DMA=1 and data are converted. | 295 | // DMA requests are issues as long as DMA=1 and data are converted. |
| 296 | w.set_dds(vals::Dds::CONTINUOUS); | 296 | w.set_dds(vals::Dds::CONTINUOUS); |
| 297 | // EOC flag is set at the end of each conversion. | 297 | // EOC flag is set at the end of each conversion. |
