Remove debug
This commit is contained in:
parent
49eaf000b8
commit
3ad52f837d
@ -84,9 +84,7 @@ where
|
|||||||
address: u8,
|
address: u8,
|
||||||
operations: &mut [embedded_hal_async::i2c::Operation<'_>],
|
operations: &mut [embedded_hal_async::i2c::Operation<'_>],
|
||||||
) -> Result<(), I2cDeviceError<BUS::Error>> {
|
) -> Result<(), I2cDeviceError<BUS::Error>> {
|
||||||
defmt::info!("lock");
|
|
||||||
let mut bus = self.bus.lock().await;
|
let mut bus = self.bus.lock().await;
|
||||||
defmt::info!("transact");
|
|
||||||
bus.transaction(address, operations)
|
bus.transaction(address, operations)
|
||||||
.await
|
.await
|
||||||
.map_err(I2cDeviceError::I2c)?;
|
.map_err(I2cDeviceError::I2c)?;
|
||||||
|
Loading…
Reference in New Issue
Block a user