Skip to content

Commit

Permalink
add start
Browse files Browse the repository at this point in the history
  • Loading branch information
gferraro committed Aug 23, 2024
1 parent 1c5d740 commit 49eb0e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pdm_microphone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ impl PdmMicrophone {
let mut cycle = 0;
let mut audio_buffer = AudioBuffer::new();
audio_buffer.init(timestamp, adjusted_sr as u16);
flash_storage.start_file(0);
loop {
if rx_transfer.is_done() && cycle >= WARMUP_CYCLES {
//this causes problems
Expand Down

0 comments on commit 49eb0e1

Please sign in to comment.