From 323ec3dfa1fd981eb13332f224e4e2738478b853 Mon Sep 17 00:00:00 2001 From: Dominic Fischer Date: Sun, 17 Nov 2024 13:44:20 +0000 Subject: [PATCH] update HIL --- hil-test/tests/qspi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hil-test/tests/qspi.rs b/hil-test/tests/qspi.rs index 43b500d9a7a..605b69c31f5 100644 --- a/hil-test/tests/qspi.rs +++ b/hil-test/tests/qspi.rs @@ -286,7 +286,7 @@ mod tests { let [pin, pin_mirror, _] = ctx.gpios; let pin_mirror = Output::new(pin_mirror, Level::High); - let spi = ctx.spi.with_miso(pin).with_dma(ctx.dma_channel); + let spi = ctx.spi.with_sio1(pin).with_dma(ctx.dma_channel); super::execute_write_read(spi, pin_mirror, 0b0010_0010); } @@ -365,7 +365,7 @@ mod tests { let spi = ctx .spi .with_mosi(mosi) - .with_miso(gpio) + .with_sio1(gpio) .with_dma(ctx.dma_channel); super::execute_write(unit0, unit1, spi, 0b0000_0010, true);