diff options
| author | Dario Nieuwenhuis <[email protected]> | 2025-05-18 21:20:24 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-05-18 21:20:24 +0200 |
| commit | 3ad9b73dd52d21cab8357f551fb82e281ff2aaa6 (patch) | |
| tree | 55542370a5c3fd231452f7ade349afd06118b77d /examples/rp/src | |
| parent | 41263587dfec4d326336dc9a5e01aadb89e96572 (diff) | |
| parent | 58383465d52b45016f88aa6af081f60d67d2b123 (diff) | |
Merge pull request #4193 from embediver/pio-i2s-bit-depth-config
embassy-rp: Make bit-depth of I2S PIO program configurable
Diffstat (limited to 'examples/rp/src')
| -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 | ||
