Sfoglia il codice sorgente

Fix I2S output when also using I2S input with CPU > 120 MHz

dds
PaulStoffregen 8 anni fa
parent
commit
834028d889
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. +2
    -1
      output_i2s.cpp

+ 2
- 1
output_i2s.cpp Vedi File

@@ -65,7 +65,8 @@ void AudioOutputI2S::begin(void)
update_responsibility = update_setup();
dma.enable();

I2S0_TCSR |= I2S_TCSR_TE | I2S_TCSR_BCE | I2S_TCSR_FRDE | I2S_TCSR_FR;
I2S0_TCSR = I2S_TCSR_SR;
I2S0_TCSR = I2S_TCSR_TE | I2S_TCSR_BCE | I2S_TCSR_FRDE;
dma.attachInterrupt(isr);
}


Loading…
Annulla
Salva