diff options
| author | Dániel Buga <[email protected]> | 2024-12-20 12:45:24 +0100 |
|---|---|---|
| committer | Dániel Buga <[email protected]> | 2024-12-22 21:00:23 +0100 |
| commit | ab8ca3f126447edb3a9eb06aa6fd6cd394219c17 (patch) | |
| tree | 129bff555ec2fee297a932243de03151ec38712c /embassy-stm32 | |
| parent | 1c485f18a2ee6147bf4cfd66789dc8e0c6e1466c (diff) | |
Rename ETQD, bump date
Diffstat (limited to 'embassy-stm32')
| -rw-r--r-- | embassy-stm32/Cargo.toml | 4 | ||||
| -rw-r--r-- | embassy-stm32/src/time_driver.rs | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embassy-stm32/Cargo.toml b/embassy-stm32/Cargo.toml index 527d2dd30..ffd9a67e7 100644 --- a/embassy-stm32/Cargo.toml +++ b/embassy-stm32/Cargo.toml | |||
| @@ -45,7 +45,7 @@ rustdoc-args = ["--cfg", "docsrs"] | |||
| 45 | embassy-sync = { version = "0.6.1", path = "../embassy-sync" } | 45 | embassy-sync = { version = "0.6.1", path = "../embassy-sync" } |
| 46 | embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true } | 46 | embassy-time = { version = "0.4.0", path = "../embassy-time", optional = true } |
| 47 | embassy-time-driver = { version = "0.2", path = "../embassy-time-driver", optional = true } | 47 | embassy-time-driver = { version = "0.2", path = "../embassy-time-driver", optional = true } |
| 48 | embassy-time-queue-driver = { version = "0.2", path = "../embassy-time-queue-driver", optional = true } | 48 | embassy-time-queue-utils = { version = "0.1", path = "../embassy-time-queue-utils", optional = true } |
| 49 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } | 49 | embassy-futures = { version = "0.1.0", path = "../embassy-futures" } |
| 50 | embassy-hal-internal = {version = "0.2.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-4"] } | 50 | embassy-hal-internal = {version = "0.2.0", path = "../embassy-hal-internal", features = ["cortex-m", "prio-bits-4"] } |
| 51 | embassy-embedded-hal = {version = "0.2.0", path = "../embassy-embedded-hal", default-features = false } | 51 | embassy-embedded-hal = {version = "0.2.0", path = "../embassy-embedded-hal", default-features = false } |
| @@ -150,7 +150,7 @@ time = ["dep:embassy-time", "embassy-embedded-hal/time"] | |||
| 150 | 150 | ||
| 151 | # Features starting with `_` are for internal use only. They're not intended | 151 | # Features starting with `_` are for internal use only. They're not intended |
| 152 | # to be enabled by other crates, and are not covered by semver guarantees. | 152 | # to be enabled by other crates, and are not covered by semver guarantees. |
| 153 | _time-driver = ["dep:embassy-time-driver", "time", "dep:embassy-time-queue-driver"] | 153 | _time-driver = ["dep:embassy-time-driver", "time", "dep:embassy-time-queue-utils"] |
| 154 | 154 | ||
| 155 | ## Use any time driver | 155 | ## Use any time driver |
| 156 | time-driver-any = ["_time-driver"] | 156 | time-driver-any = ["_time-driver"] |
diff --git a/embassy-stm32/src/time_driver.rs b/embassy-stm32/src/time_driver.rs index a4c333d82..fbe148359 100644 --- a/embassy-stm32/src/time_driver.rs +++ b/embassy-stm32/src/time_driver.rs | |||
| @@ -7,7 +7,7 @@ use critical_section::CriticalSection; | |||
| 7 | use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; | 7 | use embassy_sync::blocking_mutex::raw::CriticalSectionRawMutex; |
| 8 | use embassy_sync::blocking_mutex::Mutex; | 8 | use embassy_sync::blocking_mutex::Mutex; |
| 9 | use embassy_time_driver::{Driver, TICK_HZ}; | 9 | use embassy_time_driver::{Driver, TICK_HZ}; |
| 10 | use embassy_time_queue_driver::Queue; | 10 | use embassy_time_queue_utils::Queue; |
| 11 | use stm32_metapac::timer::{regs, TimGp16}; | 11 | use stm32_metapac::timer::{regs, TimGp16}; |
| 12 | 12 | ||
| 13 | use crate::interrupt::typelevel::Interrupt; | 13 | use crate::interrupt::typelevel::Interrupt; |
