mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-10 21:47:04 +03:00
identify patch - release
This commit is contained in:
@@ -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;
|
I2S[i2s_num]->conf.rx_start = 0;
|
||||||
|
|
||||||
if (i2s_config->mode & I2S_MODE_TX) {
|
if (i2s_config->mode & I2S_MODE_TX) {
|
||||||
|
// PATCH
|
||||||
I2S[i2s_num]->conf.tx_msb_right = 1;
|
I2S[i2s_num]->conf.tx_msb_right = 1;
|
||||||
I2S[i2s_num]->conf.tx_right_first = 0;
|
I2S[i2s_num]->conf.tx_right_first = 0;
|
||||||
|
|
||||||
@@ -939,6 +940,7 @@ 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) {
|
if (i2s_config->mode & I2S_MODE_RX) {
|
||||||
|
// PATCH
|
||||||
I2S[i2s_num]->conf.rx_msb_right = 1;
|
I2S[i2s_num]->conf.rx_msb_right = 1;
|
||||||
I2S[i2s_num]->conf.rx_right_first = 0;
|
I2S[i2s_num]->conf.rx_right_first = 0;
|
||||||
I2S[i2s_num]->conf.rx_slave_mod = 0; // Master
|
I2S[i2s_num]->conf.rx_slave_mod = 0; // Master
|
||||||
|
|||||||
Reference in New Issue
Block a user