diff options
| author | Matteo Meluzzi <[email protected]> | 2025-10-02 10:53:31 +0200 |
|---|---|---|
| committer | Matteo Meluzzi <[email protected]> | 2025-10-02 10:53:31 +0200 |
| commit | 828a8df18d04877df1f55f04354980b28ff2f2f8 (patch) | |
| tree | c4fa405f5eba7a14b6d435d6cc746c9e0dc52632 /embassy-embedded-hal | |
| parent | 176649e71ad442ca9856af6c11989b0b2f228c4b (diff) | |
| parent | 194a721d0eab929a2af0a2a4e45ca8e70e0d3f0a (diff) | |
Merge branch 'main' into 17-add-support-for-boot-protocol
Diffstat (limited to 'embassy-embedded-hal')
| -rw-r--r-- | embassy-embedded-hal/Cargo.toml | 1 | ||||
| -rw-r--r-- | embassy-embedded-hal/src/adapter/yielding_async.rs | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/embassy-embedded-hal/Cargo.toml b/embassy-embedded-hal/Cargo.toml index a66e01717..8b8122567 100644 --- a/embassy-embedded-hal/Cargo.toml +++ b/embassy-embedded-hal/Cargo.toml | |||
| @@ -25,6 +25,7 @@ src_base_git = "https://github.com/embassy-rs/embassy/blob/$COMMIT/embassy-embed | |||
| 25 | target = "x86_64-unknown-linux-gnu" | 25 | target = "x86_64-unknown-linux-gnu" |
| 26 | 26 | ||
| 27 | [features] | 27 | [features] |
| 28 | defmt = ["dep:defmt"] | ||
| 28 | time = ["dep:embassy-time"] | 29 | time = ["dep:embassy-time"] |
| 29 | 30 | ||
| 30 | [dependencies] | 31 | [dependencies] |
diff --git a/embassy-embedded-hal/src/adapter/yielding_async.rs b/embassy-embedded-hal/src/adapter/yielding_async.rs index 87f822a63..e0ca3aedc 100644 --- a/embassy-embedded-hal/src/adapter/yielding_async.rs +++ b/embassy-embedded-hal/src/adapter/yielding_async.rs | |||
| @@ -2,7 +2,7 @@ use embassy_futures::yield_now; | |||
| 2 | 2 | ||
| 3 | /// Wrapper that yields for each operation to the wrapped instance | 3 | /// Wrapper that yields for each operation to the wrapped instance |
| 4 | /// | 4 | /// |
| 5 | /// This can be used in combination with BlockingAsync<T> to enforce yields | 5 | /// This can be used in combination with [super::BlockingAsync] to enforce yields |
| 6 | /// between long running blocking operations. | 6 | /// between long running blocking operations. |
| 7 | pub struct YieldingAsync<T> { | 7 | pub struct YieldingAsync<T> { |
| 8 | wrapped: T, | 8 | wrapped: T, |
