diff options
| author | Matt Allen <[email protected]> | 2025-03-07 10:41:36 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-03-07 10:41:36 -0500 |
| commit | 5e3cfc7b5c3b0dbadb37870462741d6b417cf028 (patch) | |
| tree | fb8910f376b975cc687261e6e6a72ae8777ccd72 /examples | |
| parent | 91d8175f6270530203b073d754ea1200243dc08f (diff) | |
| parent | 7c49f482d71d594d7b48c3393cc98d03a9e7c9e2 (diff) | |
Merge branch 'embassy-rs:main' into stm32-pwm-pin-config
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() { |
