PaulStoffregen 4 years ago
parent
commit
cad2b012c7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      output_tdm.cpp

+ 2
- 0
output_tdm.cpp View File

@@ -48,6 +48,8 @@ void AudioOutputTDM::begin(void)
for (int i=0; i < 16; i++) {
block_input[i] = nullptr;
}
memset(zeros, 0, sizeof(zeros));
memset(tdm_tx_buffer, 0, sizeof(tdm_tx_buffer));

// TODO: should we set & clear the I2S_TCSR_SR bit here?
config_tdm();

Loading…
Cancel
Save