From bb8c6a096733bc6bf890dc81a49021a3d990358b Mon Sep 17 00:00:00 2001 From: 9names <60134748+9names@users.noreply.github.com> Date: Mon, 19 Aug 2024 20:30:51 +1000 Subject: [PATCH] Fix up the SPI example pins comment too --- rp2040-hal-examples/src/bin/spi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rp2040-hal-examples/src/bin/spi.rs b/rp2040-hal-examples/src/bin/spi.rs index 85b0b7445..a7a76ff4b 100644 --- a/rp2040-hal-examples/src/bin/spi.rs +++ b/rp2040-hal-examples/src/bin/spi.rs @@ -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::(); let spi_miso = pins.gpio4.into_function::(); let spi_sclk = pins.gpio6.into_function::();