Fix example for rp235x
This commit is contained in:
parent
fd9ed3924c
commit
58383465d5
@ -27,7 +27,6 @@ bind_interrupts!(struct Irqs {
|
|||||||
|
|
||||||
const SAMPLE_RATE: u32 = 48_000;
|
const SAMPLE_RATE: u32 = 48_000;
|
||||||
const BIT_DEPTH: u32 = 16;
|
const BIT_DEPTH: u32 = 16;
|
||||||
const CHANNELS: u32 = 2;
|
|
||||||
|
|
||||||
#[embassy_executor::main]
|
#[embassy_executor::main]
|
||||||
async fn main(_spawner: Spawner) {
|
async fn main(_spawner: Spawner) {
|
||||||
@ -50,7 +49,6 @@ async fn main(_spawner: Spawner) {
|
|||||||
left_right_clock_pin,
|
left_right_clock_pin,
|
||||||
SAMPLE_RATE,
|
SAMPLE_RATE,
|
||||||
BIT_DEPTH,
|
BIT_DEPTH,
|
||||||
CHANNELS,
|
|
||||||
&program,
|
&program,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user