diff options
Diffstat (limited to 'tests/rp/src/bin/i2c.rs')
| -rw-r--r-- | tests/rp/src/bin/i2c.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/rp/src/bin/i2c.rs b/tests/rp/src/bin/i2c.rs index 2c835bd5a..21761b98b 100644 --- a/tests/rp/src/bin/i2c.rs +++ b/tests/rp/src/bin/i2c.rs | |||
| @@ -208,7 +208,7 @@ async fn controller_task(con: &mut i2c::I2c<'static, I2C0, i2c::Async>) { | |||
| 208 | config.addr = DEV_ADDR as u16; | 208 | config.addr = DEV_ADDR as u16; |
| 209 | let device = i2c_slave::I2cSlave::new(p.I2C1, d_sda, d_scl, Irqs, config); | 209 | let device = i2c_slave::I2cSlave::new(p.I2C1, d_sda, d_scl, Irqs, config); |
| 210 | 210 | ||
| 211 | spawner.must_spawn(device_task(device)); | 211 | spawner.spawn(device_task(device).unwrap()); |
| 212 | 212 | ||
| 213 | let c_sda = p.PIN_21; | 213 | let c_sda = p.PIN_21; |
| 214 | let c_scl = p.PIN_20; | 214 | let c_scl = p.PIN_20; |
