瀏覽代碼

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

dds
PaulStoffregen 8 年之前
父節點
當前提交
834028d889
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. +2
    -1
      output_i2s.cpp

+ 2
- 1
output_i2s.cpp 查看文件

update_responsibility = update_setup(); update_responsibility = update_setup();
dma.enable(); 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); dma.attachInterrupt(isr);
} }



Loading…
取消
儲存