aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin/pio_spi_async.rs
diff options
context:
space:
mode:
authorRiceman2000 <[email protected]>2025-09-12 12:47:47 -0400
committerRiceman2000 <[email protected]>2025-09-12 12:47:47 -0400
commit0ea3478fb5e4fcdcd86e439186794d126ed2eca4 (patch)
tree75648214077f5b864d690040ec374d1c12da3751 /examples/rp/src/bin/pio_spi_async.rs
parent49a7770c19aab2dbab994495fb2a584b199e1080 (diff)
Fix typo in PIO SPI examples
Diffstat (limited to 'examples/rp/src/bin/pio_spi_async.rs')
-rw-r--r--examples/rp/src/bin/pio_spi_async.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/rp/src/bin/pio_spi_async.rs b/examples/rp/src/bin/pio_spi_async.rs
index 18b57d26e..e7d9b0ecc 100644
--- a/examples/rp/src/bin/pio_spi_async.rs
+++ b/examples/rp/src/bin/pio_spi_async.rs
@@ -27,9 +27,9 @@ async fn main(_spawner: Spawner) {
27 27
28 // These pins are routed to different hardware SPI peripherals, but we can 28 // These pins are routed to different hardware SPI peripherals, but we can
29 // use them together regardless 29 // use them together regardless
30 let mosi = p.PIN_6; // SPI0 SCLK 30 let mosi = p.PIN_6;
31 let miso = p.PIN_7; // SPI0 MOSI 31 let miso = p.PIN_7;
32 let clk = p.PIN_8; // SPI1 MISO 32 let clk = p.PIN_8;
33 33
34 let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs); 34 let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs);
35 35