diff options
| author | Marvin Gudel <[email protected]> | 2025-05-13 22:49:35 +0200 |
|---|---|---|
| committer | Marvin Gudel <[email protected]> | 2025-05-13 22:49:35 +0200 |
| commit | fd9ed3924c5a7c4ef4f9bc4b8a4f934ad2bcc486 (patch) | |
| tree | 0df8aeebacf133df279b752602c9c3428f524b58 /examples/rp | |
| parent | edcbfeb15257e93557a73b9aac3a8ee92a273e32 (diff) | |
Fix example
Diffstat (limited to 'examples/rp')
| -rw-r--r-- | examples/rp/src/bin/pio_i2s.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/rp/src/bin/pio_i2s.rs b/examples/rp/src/bin/pio_i2s.rs index 192c8f854..695a74cc3 100644 --- a/examples/rp/src/bin/pio_i2s.rs +++ b/examples/rp/src/bin/pio_i2s.rs | |||
| @@ -27,7 +27,6 @@ bind_interrupts!(struct Irqs { | |||
| 27 | 27 | ||
| 28 | const SAMPLE_RATE: u32 = 48_000; | 28 | const SAMPLE_RATE: u32 = 48_000; |
| 29 | const BIT_DEPTH: u32 = 16; | 29 | const BIT_DEPTH: u32 = 16; |
| 30 | const CHANNELS: u32 = 2; | ||
| 31 | 30 | ||
| 32 | #[embassy_executor::main] | 31 | #[embassy_executor::main] |
| 33 | async fn main(_spawner: Spawner) { | 32 | async fn main(_spawner: Spawner) { |
| @@ -50,7 +49,6 @@ async fn main(_spawner: Spawner) { | |||
| 50 | left_right_clock_pin, | 49 | left_right_clock_pin, |
| 51 | SAMPLE_RATE, | 50 | SAMPLE_RATE, |
| 52 | BIT_DEPTH, | 51 | BIT_DEPTH, |
| 53 | CHANNELS, | ||
| 54 | &program, | 52 | &program, |
| 55 | ); | 53 | ); |
| 56 | 54 | ||
