Skip to content

Commit d7d7783

Browse files
committed
fix update from master
1 parent 909db99 commit d7d7783

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ use std::time::Duration;
3333
use std::{ops, thread};
3434

3535
use cast::{u32, u64};
36-
use hal::blocking::i2c::Operation as I2cOperation;
36+
use embedded_hal::blocking::i2c::Operation as I2cOperation;
3737
use i2cdev::core::{I2CDevice, I2CMessage, I2CTransfer};
3838
use i2cdev::linux::LinuxI2CMessage;
3939
use spidev::SpidevTransfer;
@@ -210,7 +210,7 @@ impl embedded_hal::blocking::i2c::WriteRead for I2cdev {
210210
}
211211
}
212212

213-
impl hal::blocking::i2c::Transactional for I2cdev {
213+
impl embedded_hal::blocking::i2c::Transactional for I2cdev {
214214
type Error = i2cdev::linux::LinuxI2CError;
215215

216216
fn try_exec(&mut self, address: u8, operations: &mut [I2cOperation]) -> Result<(), Self::Error>

0 commit comments

Comments
 (0)