From 8edb7bb012b43977ee57f9ebff9b57436a0a904f Mon Sep 17 00:00:00 2001 From: Caleb Jamison Date: Sun, 10 Sep 2023 03:05:54 -0400 Subject: [PATCH] Test cleanup --- tests/rp/src/bin/i2c.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/rp/src/bin/i2c.rs b/tests/rp/src/bin/i2c.rs index a6cf48af..4b6becba 100644 --- a/tests/rp/src/bin/i2c.rs +++ b/tests/rp/src/bin/i2c.rs @@ -40,10 +40,7 @@ async fn device_task(mut dev: i2c_slave::I2cSlave<'static, I2C1>) -> ! { } Ok(i2c_slave::Command::Read) => { loop { - //info!("Responding to read, count {}", count); - let a = dev.respond_to_read(&[count]).await; - //info!("x {}", a); - match a { + match dev.respond_to_read(&[count]).await { Ok(x) => match x { i2c_slave::ReadStatus::Done => break, i2c_slave::ReadStatus::NeedMoreBytes => count += 1,