summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Fitzhardinge <jeremy@goop.org>2022-10-01 01:33:36 -0700
committerJeremy Fitzhardinge <jeremy@goop.org>2022-10-01 01:34:45 -0700
commitc96581879cf054d9e4fec9272e5cecb165844cbb (patch)
tree930620eeda74db9eaf2f7c601c927248d1ddce0e
parentd5abd32da21998178216693a4d549a0f2683a4bb (diff)
downloadembassy-c96581879cf054d9e4fec9272e5cecb165844cbb.zip
update embedded-hal api
Also pin to alpha.9 since its a breaking change
-rw-r--r--examples/rp/Cargo.toml2
-rw-r--r--examples/rp/src/bin/i2c_blocking.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/Cargo.toml b/examples/rp/Cargo.toml
index 3c8f923e..1bb6432e 100644
--- a/examples/rp/Cargo.toml
+++ b/examples/rp/Cargo.toml
@@ -26,7 +26,7 @@ st7789 = "0.6.1"
display-interface = "0.4.1"
byte-slice-cast = { version = "1.2.0", default-features = false }
-embedded-hal-1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
+embedded-hal-1 = { package = "embedded-hal", version = "=1.0.0-alpha.9" }
embedded-hal-async = { version = "0.1.0-alpha.1" }
embedded-io = { version = "0.3.0", features = ["async", "defmt"] }
static_cell = "1.0.0"
diff --git a/examples/rp/src/bin/i2c_blocking.rs b/examples/rp/src/bin/i2c_blocking.rs
index a5991d0d..7623e33c 100644
--- a/examples/rp/src/bin/i2c_blocking.rs
+++ b/examples/rp/src/bin/i2c_blocking.rs
@@ -6,7 +6,7 @@ use defmt::*;
use embassy_executor::Spawner;
use embassy_rp::i2c::{self, Config};
use embassy_time::{Duration, Timer};
-use embedded_hal_1::i2c::blocking::I2c;
+use embedded_hal_1::i2c::I2c;
use {defmt_rtt as _, panic_probe as _};
#[allow(dead_code)]