Skip to content

Commit

Permalink
embedded-hal-mock: 0.10.0 -> 0.11.1
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Jun 9, 2024
1 parent d2ff6fe commit a18984a
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion hl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ w5500-ll = { path = "../ll", version = "0.13.0" }
[dev-dependencies]
embedded-hal = "1"
w5500-ll = { path = "../ll", version = "0.13.0", features = ["eh1", "defmt"] }
ehm = { package = "embedded-hal-mock", version = "0.10.0", features = ["eh0", "eh1", "embedded-hal-async"] }
ehm = { package = "embedded-hal-mock", version = "0.11.1", features = ["eh0", "eh1", "embedded-hal-async"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
2 changes: 1 addition & 1 deletion ll/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ eha1 = { package = "embedded-hal-async", version = "1", optional = true }

[dev-dependencies]
tokio = { version = "1.21.2", features = ["rt", "macros"] }
ehm = { package = "embedded-hal-mock", version = "0.10.0", features = ["eh0", "eh1", "embedded-hal-async"] }
ehm = { package = "embedded-hal-mock", version = "0.11.1", features = ["eh0", "eh1", "embedded-hal-async"] }

[package.metadata.docs.rs]
all-features = true
Expand Down
6 changes: 3 additions & 3 deletions ll/src/eh0.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ pub mod vdm_infallible_gpio;
/// ```
/// # use ehm::eh0 as hal;
/// # let mut delay = hal::delay::NoopDelay::new();
/// # let mut reset_pin = hal::pin::Mock::new(&[
/// # hal::pin::Transaction::set(hal::pin::State::Low),
/// # hal::pin::Transaction::set(hal::pin::State::High),
/// # let mut reset_pin = hal::digital::Mock::new(&[
/// # hal::digital::Transaction::set(hal::digital::State::Low),
/// # hal::digital::Transaction::set(hal::digital::State::High),
/// # ]);
/// w5500_ll::eh0::reset(&mut reset_pin, &mut delay)?;
/// # reset_pin.done();
Expand Down
6 changes: 3 additions & 3 deletions ll/src/eh0/vdm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ where
/// ```
/// # use ehm::eh0 as hal;
/// # let spi = hal::spi::Mock::new(&[]);
/// # let mut pin = hal::pin::Mock::new(&[
/// # hal::pin::Transaction::set(hal::pin::State::High),
/// # let mut pin = hal::digital::Mock::new(&[
/// # hal::digital::Transaction::set(hal::digital::State::High),
/// # ]);
/// use eh0::digital::v2::OutputPin;
/// use w5500_ll::eh0::vdm::W5500;
Expand All @@ -75,7 +75,7 @@ where
/// ```
/// # use ehm::eh0 as hal;
/// # let spi = hal::spi::Mock::new(&[]);
/// # let pin = hal::pin::Mock::new(&[]);
/// # let pin = hal::digital::Mock::new(&[]);
/// use w5500_ll::eh0::vdm::W5500;
///
/// let mut w5500 = W5500::new(spi, pin);
Expand Down
6 changes: 3 additions & 3 deletions ll/src/eh1.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@ pub mod vdm;
/// ```
/// # use ehm::eh1 as hal;
/// # let mut delay = hal::delay::NoopDelay::new();
/// # let mut reset_pin = hal::pin::Mock::new(&[
/// # hal::pin::Transaction::set(hal::pin::State::Low),
/// # hal::pin::Transaction::set(hal::pin::State::High),
/// # let mut reset_pin = hal::digital::Mock::new(&[
/// # hal::digital::Transaction::set(hal::digital::State::Low),
/// # hal::digital::Transaction::set(hal::digital::State::High),
/// # ]);
/// w5500_ll::eh1::reset(&mut reset_pin, &mut delay)?;
/// # reset_pin.done();
Expand Down

0 comments on commit a18984a

Please sign in to comment.