From d2ca0b3f3339f1256c1d0ced81e42a6737c4ff22 Mon Sep 17 00:00:00 2001 From: Philippe G Date: Wed, 26 Aug 2020 19:41:43 -0700 Subject: [PATCH] identify patch - release --- components/services/i2s.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/components/services/i2s.c b/components/services/i2s.c index 4eae7ae3..25deaa1d 100644 --- a/components/services/i2s.c +++ b/components/services/i2s.c @@ -927,6 +927,7 @@ static esp_err_t i2s_param_config(i2s_port_t i2s_num, const i2s_config_t *i2s_co I2S[i2s_num]->conf.rx_start = 0; if (i2s_config->mode & I2S_MODE_TX) { + // PATCH I2S[i2s_num]->conf.tx_msb_right = 1; I2S[i2s_num]->conf.tx_right_first = 0; @@ -939,7 +940,8 @@ static esp_err_t i2s_param_config(i2s_port_t i2s_num, const i2s_config_t *i2s_co } if (i2s_config->mode & I2S_MODE_RX) { - I2S[i2s_num]->conf.rx_msb_right = 1; + // PATCH + I2S[i2s_num]->conf.rx_msb_right = 1; I2S[i2s_num]->conf.rx_right_first = 0; I2S[i2s_num]->conf.rx_slave_mod = 0; // Master I2S[i2s_num]->fifo_conf.rx_fifo_mod_force_en = 1;