diff options
| author | Marvin Gudel <[email protected]> | 2025-05-13 23:30:55 +0200 |
|---|---|---|
| committer | Marvin Gudel <[email protected]> | 2025-05-13 23:30:55 +0200 |
| commit | 58383465d52b45016f88aa6af081f60d67d2b123 (patch) | |
| tree | 7ee3b3611c27566ecffd0362898174f8f83b271f /examples/rp235x | |
| parent | fd9ed3924c5a7c4ef4f9bc4b8a4f934ad2bcc486 (diff) | |
Fix example for rp235x
Diffstat (limited to 'examples/rp235x')
| -rw-r--r-- | examples/rp235x/src/bin/pio_i2s.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/rp235x/src/bin/pio_i2s.rs b/examples/rp235x/src/bin/pio_i2s.rs index 5a4bcfcac..cfcb0221d 100644 --- a/examples/rp235x/src/bin/pio_i2s.rs +++ b/examples/rp235x/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 | ||
