mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-23 10:46:31 +00:00
parent
73c48ff5f0
commit
5a8f13d57f
@ -79,8 +79,12 @@ esp_err_t err = ESP_OK;
|
|||||||
|
|
||||||
#ifdef USE_I2S_MIC
|
#ifdef USE_I2S_MIC
|
||||||
// mic select to GND
|
// mic select to GND
|
||||||
i2s_config.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_TX);
|
#ifdef MIC_PDM
|
||||||
i2s_config.communication_format = I2S_COMM_FORMAT_STAND_I2S;
|
i2s_config.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_PDM);
|
||||||
|
#else
|
||||||
|
i2s_config.mode = (i2s_mode_t)(I2S_MODE_MASTER | I2S_MODE_RX | I2S_MODE_TX);
|
||||||
|
i2s_config.communication_format = I2S_COMM_FORMAT_STAND_I2S;
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef ESP32S3_BOX
|
#ifdef ESP32S3_BOX
|
||||||
|
Loading…
x
Reference in New Issue
Block a user