Remove debug

This commit is contained in:
Caleb Jamison 2023-05-22 21:31:00 -04:00
parent 49eaf000b8
commit 3ad52f837d

View file

@ -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)?;