Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion on-target-tests/tests/dma_spi_loopback_u8.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion rp2040-hal/examples/spi_dma.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::<hal::gpio::FunctionSpi>();
let spi_miso = pins.gpio4.into_function::<hal::gpio::FunctionSpi>();
let spi_sclk = pins.gpio6.into_function::<hal::gpio::FunctionSpi>();
Expand Down