Skip to content

Commit

Permalink
Switch to embedded-hal-async and embedded-hal 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbeaurivage committed Jan 10, 2024
1 parent 6d7a32b commit 45383ab
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions hal/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ void = {version = "1.0", default-features = false}
#===============================================================================

embassy-sync = {version = "0.5.0", optional = true}
embedded-hal-alpha = {package = "embedded-hal", version = "1.0.0-rc.1"}
embedded-hal-async = {version = "1.0.0-rc.2", optional = true, features = ["defmt-03"]}
embedded-hal_1 = {package = "embedded-hal", version = "1.0.0"}
embedded-hal-async = {version = "1.0.0", optional = true, features = ["defmt-03"]}
embedded-sdmmc = {version = "0.3", optional = true}
futures = {version = "0.3", default-features = false, features = ["async-await"], optional = true}
jlink_rtt = {version = "0.2", optional = true}
Expand Down
2 changes: 1 addition & 1 deletion hal/src/thumbv6m/eic/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ crate::paste::item! {
}

#[cfg(feature = "async")]
impl<GPIO> embedded_hal_alpha::digital::ErrorType for [<$PadType $num>]<GPIO>
impl<GPIO> embedded_hal_1::digital::ErrorType for [<$PadType $num>]<GPIO>
where
GPIO: AnyPin,
Self: InputPin<Error = core::convert::Infallible>,
Expand Down
2 changes: 1 addition & 1 deletion hal/src/thumbv7em/eic/pin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ crate::paste::item! {
}

#[cfg(feature = "async")]
impl<GPIO> embedded_hal_alpha::digital::ErrorType for [<$PadType $num>]<GPIO>
impl<GPIO> embedded_hal_1::digital::ErrorType for [<$PadType $num>]<GPIO>
where
GPIO: AnyPin,
Self: InputPin<Error = core::convert::Infallible>,
Expand Down

0 comments on commit 45383ab

Please sign in to comment.