diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rp/src/bin/pio_dma.rs | 4 | ||||
| -rw-r--r-- | examples/rp235x/src/bin/pio_dma.rs | 4 |
2 files changed, 4 insertions, 4 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() { |
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() { |
