Skip to content

Commit

Permalink
Fix up the SPI example pins comment too
Browse files Browse the repository at this point in the history
  • Loading branch information
9names committed Aug 19, 2024
1 parent 936c3bc commit 01cc4f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rp2040-hal-examples/src/bin/spi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,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 so they can be used by the SPI driver
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

0 comments on commit 01cc4f4

Please sign in to comment.