From af1b8e5d8b3974d87067d4224f4ef71177ca5c4d Mon Sep 17 00:00:00 2001 From: Andres Vahter Date: Wed, 10 Jan 2024 21:15:07 +0200 Subject: update to embedded-hal 1 (#879) * update to eh1 * changelogs about embedded-hal 1.0 --- rtic-sync/CHANGELOG.md | 2 ++ rtic-sync/Cargo.toml | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'rtic-sync') diff --git a/rtic-sync/CHANGELOG.md b/rtic-sync/CHANGELOG.md index 0e5ab07..96714a4 100644 --- a/rtic-sync/CHANGELOG.md +++ b/rtic-sync/CHANGELOG.md @@ -11,6 +11,8 @@ For each category, _Added_, _Changed_, _Fixed_ add new entries at the top! ### Changed +- Using `embedded-hal` 1.0. + ### Fixed - `make_channel` now accepts `Type` expressions instead of only `TypePath` expressions. diff --git a/rtic-sync/Cargo.toml b/rtic-sync/Cargo.toml index 292230c..429c33e 100644 --- a/rtic-sync/Cargo.toml +++ b/rtic-sync/Cargo.toml @@ -25,9 +25,9 @@ heapless = "0.8" critical-section = "1" rtic-common = { version = "1.0.0", path = "../rtic-common" } portable-atomic = { version = "1", default-features = false } -embedded-hal = { version = "1.0.0-rc.2", optional = true } -embedded-hal-async = { version = "1.0.0-rc.2", optional = true } -embedded-hal-bus = { version = "0.1.0-rc.2", optional = true, features = ["async"] } +embedded-hal = { version = "1.0", optional = true } +embedded-hal-async = { version = "1.0", optional = true } +embedded-hal-bus = { version = "0.1.0", optional = true, features = ["async"] } [dev-dependencies] tokio = { version = "1", features = ["rt", "macros", "time"] } -- cgit v1.2.3