docs
This commit is contained in:
parent
9a01d4092e
commit
ebfdeabe2c
1 changed files with 2 additions and 0 deletions
|
@ -73,6 +73,7 @@ async fn main(spawner: Spawner) {
|
||||||
let led_channel = LED_CHANNEL.init(TripleBuffer::new(leds));
|
let led_channel = LED_CHANNEL.init(TripleBuffer::new(leds));
|
||||||
let (led_sender, led_receiver) = led_channel.split();
|
let (led_sender, led_receiver) = led_channel.split();
|
||||||
|
|
||||||
|
// initialize DSP lib FFT buffers
|
||||||
unsafe {
|
unsafe {
|
||||||
esp_nofail!(esp_dsp::dsps_fft2r_init_fc32(
|
esp_nofail!(esp_dsp::dsps_fft2r_init_fc32(
|
||||||
std::ptr::null_mut(),
|
std::ptr::null_mut(),
|
||||||
|
@ -84,6 +85,7 @@ async fn main(spawner: Spawner) {
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// spawn all embassy tasks
|
||||||
spawner
|
spawner
|
||||||
.spawn(mic_input_task(
|
.spawn(mic_input_task(
|
||||||
peripherals.i2s0,
|
peripherals.i2s0,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue