es8311: upgrade to 1.0.0

This commit is contained in:
laokaiyao 2022-10-26 18:28:30 +08:00
parent 755ce1077d
commit af35a6adbb
2 changed files with 4 additions and 1 deletions

View File

@ -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
};

View File

@ -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"