Skip to content

Commit

Permalink
Merge pull request #25 from Tortoaster/delay
Browse files Browse the repository at this point in the history
Update embedded-hal dependency
  • Loading branch information
ryankurte committed Nov 25, 2021
2 parents 1172a8a + ebdd1cc commit 4a9a15b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ helpers = [ "structopt", "humantime", "std", "pcap-file", "libc", "byteorder", "
default = []

[dependencies]
embedded-hal = "1.0.0-alpha.5"
embedded-hal = "1.0.0-alpha.6"
nb = "1.0.0"

log = { version = "0.4.14", optional = true, default_features = false }
Expand Down
6 changes: 3 additions & 3 deletions src/blocking.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ pub trait BlockingTransmit<E: Debug> {

impl<T, E> BlockingTransmit<E> for T
where
T: Transmit<Error = E> + DelayUs<u32>,
T: Transmit<Error = E> + DelayUs,
E: Debug,
{
fn do_transmit(
Expand Down Expand Up @@ -187,7 +187,7 @@ pub trait BlockingReceive<I, E> {

impl<T, I, E> BlockingReceive<I, E> for T
where
T: Receive<Info = I, Error = E> + DelayUs<u32>,
T: Receive<Info = I, Error = E> + DelayUs,
<T as Receive>::Info: Debug,
I: Debug,
E: Debug,
Expand Down Expand Up @@ -231,7 +231,7 @@ pub trait BlockingSetState<S, E> {

impl<T, S, E> BlockingSetState<S, E> for T
where
T: State<State = S, Error = E> + DelayUs<u32>,
T: State<State = S, Error = E> + DelayUs,
S: Debug + core::cmp::PartialEq + Copy,
E: Debug,
{
Expand Down

0 comments on commit 4a9a15b

Please sign in to comment.