mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-10-09 01:54:43 +00:00
Fix removed comments
This commit is contained in:
parent
daae1fe5c9
commit
1c080559fd
@ -27,9 +27,9 @@ async fn main(_spawner: Spawner) {
|
|||||||
|
|
||||||
// These pins are routed to different hardware SPI peripherals, but we can
|
// These pins are routed to different hardware SPI peripherals, but we can
|
||||||
// use them together regardless
|
// use them together regardless
|
||||||
let mosi = p.PIN_6;
|
let mosi = p.PIN_6; // SPI0 SCLK
|
||||||
let miso = p.PIN_7;
|
let miso = p.PIN_7; // SPI0 MOSI
|
||||||
let clk = p.PIN_8;
|
let clk = p.PIN_8; // SPI1 MISO
|
||||||
|
|
||||||
let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs);
|
let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs);
|
||||||
|
|
||||||
|
@ -27,9 +27,9 @@ async fn main(_spawner: Spawner) {
|
|||||||
|
|
||||||
// These pins are routed to different hardware SPI peripherals, but we can
|
// These pins are routed to different hardware SPI peripherals, but we can
|
||||||
// use them together regardless
|
// use them together regardless
|
||||||
let mosi = p.PIN_6;
|
let mosi = p.PIN_6; // SPI0 SCLK
|
||||||
let miso = p.PIN_7;
|
let miso = p.PIN_7; // SPI0 MOSI
|
||||||
let clk = p.PIN_8;
|
let clk = p.PIN_8; // SPI1 MISO
|
||||||
|
|
||||||
let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs);
|
let pio::Pio { mut common, sm0, .. } = pio::Pio::new(p.PIO0, Irqs);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user