We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 909db99 commit d7d7783Copy full SHA for d7d7783
src/lib.rs
@@ -33,7 +33,7 @@ use std::time::Duration;
33
use std::{ops, thread};
34
35
use cast::{u32, u64};
36
-use hal::blocking::i2c::Operation as I2cOperation;
+use embedded_hal::blocking::i2c::Operation as I2cOperation;
37
use i2cdev::core::{I2CDevice, I2CMessage, I2CTransfer};
38
use i2cdev::linux::LinuxI2CMessage;
39
use spidev::SpidevTransfer;
@@ -210,7 +210,7 @@ impl embedded_hal::blocking::i2c::WriteRead for I2cdev {
210
}
211
212
213
-impl hal::blocking::i2c::Transactional for I2cdev {
+impl embedded_hal::blocking::i2c::Transactional for I2cdev {
214
type Error = i2cdev::linux::LinuxI2CError;
215
216
fn try_exec(&mut self, address: u8, operations: &mut [I2cOperation]) -> Result<(), Self::Error>
0 commit comments