Skip to content

Commit 705b331

Browse files
committed
Fix tests for pico
1 parent 456da7b commit 705b331

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/rp/src/bin/ethernet_w5100s_perf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ async fn ethernet_task(
2222
runner: Runner<
2323
'static,
2424
W5100S,
25-
ExclusiveDevice<Spi<'static, SPI0, Async>, Output<'static>, Delay>,
25+
ExclusiveDevice<Spi<'static, Async>, Output<'static>, Delay>,
2626
Input<'static>,
2727
Output<'static>,
2828
>,

tests/rp/src/bin/i2c.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bind_interrupts!(struct Irqs {
2626
const DEV_ADDR: u8 = 0x42;
2727

2828
#[embassy_executor::task]
29-
async fn device_task(mut dev: i2c_slave::I2cSlave<'static, I2C1>) -> ! {
29+
async fn device_task(mut dev: i2c_slave::I2cSlave) -> ! {
3030
info!("Device start");
3131

3232
let mut count = 0xD0;
@@ -103,7 +103,7 @@ async fn device_task(mut dev: i2c_slave::I2cSlave<'static, I2C1>) -> ! {
103103
}
104104
}
105105

106-
async fn controller_task(con: &mut i2c::I2c<'static, I2C0, i2c::Async>) {
106+
async fn controller_task(con: &mut i2c::I2c<i2c::Async>) {
107107
info!("Controller start");
108108

109109
{

0 commit comments

Comments
 (0)