Skip to content

Commit bb8c6a0

Browse files
committed
Fix up the SPI example pins comment too
1 parent 2b63ab2 commit bb8c6a0

File tree

1 file changed

+1
-1
lines changed
  • rp2040-hal-examples/src/bin

1 file changed

+1
-1
lines changed

rp2040-hal-examples/src/bin/spi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ fn main() -> ! {
7878
&mut pac.RESETS,
7979
);
8080

81-
// These are implicitly used by the spi driver if they are in the correct mode
81+
// Set up our SPI pins so they can be used by the SPI driver
8282
let spi_mosi = pins.gpio7.into_function::<hal::gpio::FunctionSpi>();
8383
let spi_miso = pins.gpio4.into_function::<hal::gpio::FunctionSpi>();
8484
let spi_sclk = pins.gpio6.into_function::<hal::gpio::FunctionSpi>();

0 commit comments

Comments
 (0)