aboutsummaryrefslogtreecommitdiff
path: root/examples/rp/src/bin
diff options
context:
space:
mode:
authorUlf Lilleengen <[email protected]>2025-03-06 07:13:03 +0000
committerGitHub <[email protected]>2025-03-06 07:13:03 +0000
commit6af79f00e8fd5a32119a87870c8cb485f2513b5b (patch)
tree5014edc25357948c207fba6af729b1a84bd23bc8 /examples/rp/src/bin
parent0edd45e61013539f0d8379bf38177f6cb03f5fc0 (diff)
parent24941212e8130cddef974aab865bce4c7e294c33 (diff)
Merge pull request #3935 from edenbarby/main
embassy-rp: pio: Add access to DMA engine byte swapping
Diffstat (limited to 'examples/rp/src/bin')
-rw-r--r--examples/rp/src/bin/pio_dma.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp/src/bin/pio_dma.rs b/examples/rp/src/bin/pio_dma.rs
index d00ed2142..da6e47a1b 100644
--- a/examples/rp/src/bin/pio_dma.rs
+++ b/examples/rp/src/bin/pio_dma.rs
@@ -72,8 +72,8 @@ async fn main(_spawner: Spawner) {
72 loop { 72 loop {
73 let (rx, tx) = sm.rx_tx(); 73 let (rx, tx) = sm.rx_tx();
74 join( 74 join(
75 tx.dma_push(dma_out_ref.reborrow(), &dout), 75 tx.dma_push(dma_out_ref.reborrow(), &dout, false),
76 rx.dma_pull(dma_in_ref.reborrow(), &mut din), 76 rx.dma_pull(dma_in_ref.reborrow(), &mut din, false),
77 ) 77 )
78 .await; 78 .await;
79 for i in 0..din.len() { 79 for i in 0..din.len() {