summaryrefslogtreecommitdiffstats
path: root/src/interface.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface.rs')
-rw-r--r--src/interface.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/interface.rs b/src/interface.rs
index cf61b9b..960c7ef 100644
--- a/src/interface.rs
+++ b/src/interface.rs
@@ -1,8 +1,7 @@
//! I2C interface
-extern crate embedded_hal as hal;
-use hal::blocking;
-use {private, Error};
+use crate::{private, Error};
+use embedded_hal::blocking;
/// I2C interface
#[derive(Debug, Default)]