diff --git a/examples/peripherals/i2s/i2s_es8311/main/i2s_es8311_example.c b/examples/peripherals/i2s/i2s_es8311/main/i2s_es8311_example.c index 8df18c3b4d..472044e647 100644 --- a/examples/peripherals/i2s/i2s_es8311/main/i2s_es8311_example.c +++ b/examples/peripherals/i2s/i2s_es8311/main/i2s_es8311_example.c @@ -69,7 +69,10 @@ static esp_err_t es8311_codec_init(void) es8311_handle_t es_handle = es8311_create(I2C_NUM, ES8311_ADDRRES_0); ESP_RETURN_ON_FALSE(es_handle, ESP_FAIL, TAG, "es8311 create failed"); es8311_clock_config_t es_clk = { + .mclk_inverted = false, + .sclk_inverted = false, .mclk_from_mclk_pin = true, + .mclk_frequency = EXAMPLE_SAMPLE_RATE * EXAMPLE_MCLK_MULTIPLE, .sample_frequency = EXAMPLE_SAMPLE_RATE }; diff --git a/examples/peripherals/i2s/i2s_es8311/main/idf_component.yml b/examples/peripherals/i2s/i2s_es8311/main/idf_component.yml index 4f7079020c..fb99afee51 100644 --- a/examples/peripherals/i2s/i2s_es8311/main/idf_component.yml +++ b/examples/peripherals/i2s/i2s_es8311/main/idf_component.yml @@ -3,7 +3,7 @@ version: "1.0.0" dependencies: - espressif/es8311: "==0.0.2-alpha" + espressif/es8311: "^1.0.0" ## Required IDF version idf: version: "^4.4"