We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b63ab2 commit bb8c6a0Copy full SHA for bb8c6a0
rp2040-hal-examples/src/bin/spi.rs
@@ -78,7 +78,7 @@ fn main() -> ! {
78
&mut pac.RESETS,
79
);
80
81
- // These are implicitly used by the spi driver if they are in the correct mode
+ // Set up our SPI pins so they can be used by the SPI driver
82
let spi_mosi = pins.gpio7.into_function::<hal::gpio::FunctionSpi>();
83
let spi_miso = pins.gpio4.into_function::<hal::gpio::FunctionSpi>();
84
let spi_sclk = pins.gpio6.into_function::<hal::gpio::FunctionSpi>();
0 commit comments