diff --git a/on-target-tests/tests/dma_spi_loopback_u8.rs b/on-target-tests/tests/dma_spi_loopback_u8.rs index 3c7f6a2cb..20b0f26c9 100644 --- a/on-target-tests/tests/dma_spi_loopback_u8.rs +++ b/on-target-tests/tests/dma_spi_loopback_u8.rs @@ -95,7 +95,7 @@ mod tests { &mut pac.RESETS, ); - // These are implicitly used by the spi driver if they are in the correct mode + // Set up our SPI pins into the correct mode let spi_sclk = pins.gpio6.reconfigure(); let spi_mosi = pins.gpio7.reconfigure(); let spi_miso = pins.gpio4.reconfigure(); diff --git a/rp2040-hal/examples/spi_dma.rs b/rp2040-hal/examples/spi_dma.rs index 67ba993d1..b0c1b295d 100644 --- a/rp2040-hal/examples/spi_dma.rs +++ b/rp2040-hal/examples/spi_dma.rs @@ -57,7 +57,7 @@ fn main() -> ! { &mut pac.RESETS, ); - // These are implicitly used by the spi driver if they are in the correct mode + // Set up our SPI pins into the correct mode let spi_mosi = pins.gpio7.into_function::(); let spi_miso = pins.gpio4.into_function::(); let spi_sclk = pins.gpio6.into_function::();