aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/rp/src/bin/i2c.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/rp/src/bin/i2c.rs b/tests/rp/src/bin/i2c.rs
index a6cf48afe..4b6becbaf 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>) -> ! {
40 } 40 }
41 Ok(i2c_slave::Command::Read) => { 41 Ok(i2c_slave::Command::Read) => {
42 loop { 42 loop {
43 //info!("Responding to read, count {}", count); 43 match dev.respond_to_read(&[count]).await {
44 let a = dev.respond_to_read(&[count]).await;
45 //info!("x {}", a);
46 match a {
47 Ok(x) => match x { 44 Ok(x) => match x {
48 i2c_slave::ReadStatus::Done => break, 45 i2c_slave::ReadStatus::Done => break,
49 i2c_slave::ReadStatus::NeedMoreBytes => count += 1, 46 i2c_slave::ReadStatus::NeedMoreBytes => count += 1,