aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorriceman2000 <[email protected]>2025-09-14 14:14:59 -0400
committerriceman2000 <[email protected]>2025-09-14 14:14:59 -0400
commit1c080559fd20eb250e76278ff92d23432b5e0ce8 (patch)
treed50080b1ef21a05b1687962b16022c660f8d97af /examples
parentdaae1fe5c9357ae97b897defae3d149eeafcc49f (diff)
Fix removed comments
Diffstat (limited to 'examples')
-rw-r--r--examples/rp/src/bin/pio_spi.rs6
-rw-r--r--examples/rp/src/bin/pio_spi_async.rs6
2 files changed, 6 insertions, 6 deletions
diff --git a/examples/rp/src/bin/pio_spi.rs b/examples/rp/src/bin/pio_spi.rs
index c45aeac7d..4218327ec 100644
--- a/examples/rp/src/bin/pio_spi.rs
+++ b/examples/rp/src/bin/pio_spi.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; 30 let mosi = p.PIN_6; // SPI0 SCLK
31 let miso = p.PIN_7; 31 let miso = p.PIN_7; // SPI0 MOSI
32 let clk = p.PIN_8; 32 let clk = p.PIN_8; // SPI1 MISO
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
diff --git a/examples/rp/src/bin/pio_spi_async.rs b/examples/rp/src/bin/pio_spi_async.rs
index e7d9b0ecc..18b57d26e 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; 30 let mosi = p.PIN_6; // SPI0 SCLK
31 let miso = p.PIN_7; 31 let miso = p.PIN_7; // SPI0 MOSI
32 let clk = p.PIN_8; 32 let clk = p.PIN_8; // SPI1 MISO
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