summaryrefslogtreecommitdiffstats
path: root/src/construction.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/construction.rs')
-rw-r--r--src/construction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/construction.rs b/src/construction.rs
index 84ee8ad..cd9d779 100644
--- a/src/construction.rs
+++ b/src/construction.rs
@@ -7,7 +7,7 @@ macro_rules! impl_new_destroy {
( $IC:ident, $create:ident, $destroy:ident, $conv:ty ) => {
impl<I2C, E> Ads1x1x<I2C, ic::$IC, $conv, mode::OneShot>
where
- I2C: embedded_hal::i2c::I2c<Error = E>,
+ I2C: embedded_hal_async::i2c::I2c<Error = E>,
{
/// Create a new instance of the device in OneShot mode.
pub fn $create(i2c: I2C, address: TargetAddr) -> Self {