aboutsummaryrefslogtreecommitdiff
path: root/examples/rp235x/src/bin
diff options
context:
space:
mode:
authoreden barby <>2025-03-01 17:23:04 +1000
committereden barby <>2025-03-01 17:23:04 +1000
commit24941212e8130cddef974aab865bce4c7e294c33 (patch)
tree27ce11477749d8af3e0f02a002363541449fcaa4 /examples/rp235x/src/bin
parent17301c00e986c5b8536435ea31ebf5aaf13aed17 (diff)
Added access to the byte swap flag for RP2*** chips for the PIO state machine DMA calls.
Diffstat (limited to 'examples/rp235x/src/bin')
-rw-r--r--examples/rp235x/src/bin/pio_dma.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/rp235x/src/bin/pio_dma.rs b/examples/rp235x/src/bin/pio_dma.rs
index d00ed2142..da6e47a1b 100644
--- a/examples/rp235x/src/bin/pio_dma.rs
+++ b/examples/rp235x/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() {