mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-06-27 04:09:59 +08:00
Merge branch 'bugfix/fix_i2s_dma_error' into 'master'
bugfix(i2s): fix i2s dma error See merge request sdk/ESP8266_RTOS_SDK!960
This commit is contained in:
@ -650,6 +650,9 @@ static esp_err_t i2s_param_config(i2s_port_t i2s_num, const i2s_config_t *i2s_co
|
||||
I2S[i2s_num]->conf.rx_reset = 1;
|
||||
I2S[i2s_num]->conf.rx_reset = 0;
|
||||
|
||||
// disable all i2s interrupt
|
||||
I2S[i2s_num]->int_ena.val = 0;
|
||||
|
||||
//reset dma
|
||||
p_i2s_obj[i2s_num]->dma->conf0.rx_rst = 1;
|
||||
p_i2s_obj[i2s_num]->dma->conf0.rx_rst = 0;
|
||||
|
Reference in New Issue
Block a user