Skip to content

Commit 1e00cc7

Browse files
committed
Merge branch 'release/v3.2.x' of https://github.com/espressif/arduino-esp32 into release/v3.3.x
2 parents 88ee974 + f2e9a27 commit 1e00cc7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: libraries/ESP_I2S/src/ESP_I2S.cpp

+6
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
#include "mp3dec.h"
1212
#endif
1313

14+
#if SOC_I2S_HW_VERSION_2
15+
#undef I2S_STD_CLK_DEFAULT_CONFIG
16+
#define I2S_STD_CLK_DEFAULT_CONFIG(rate) \
17+
{ .sample_rate_hz = rate, .clk_src = I2S_CLK_SRC_DEFAULT, .ext_clk_freq_hz = 0, .mclk_multiple = I2S_MCLK_MULTIPLE_256, }
18+
#endif
19+
1420
#define I2S_READ_CHUNK_SIZE 1920
1521

1622
#define I2S_DEFAULT_CFG() \

0 commit comments

Comments
 (0)