mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
es8311: upgrade to 1.0.0
This commit is contained in:
parent
755ce1077d
commit
af35a6adbb
@ -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
|
||||
};
|
||||
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user