From 01d1aecd190be1e8cb135f15e03131b5a23163b7 Mon Sep 17 00:00:00 2001 From: laokaiyao Date: Wed, 7 Aug 2024 12:41:35 +0800 Subject: [PATCH] fix(i2s): fix the es8311 example on P4 Closes https://github.com/espressif/esp-idf/issues/14297 --- .../i2s/i2s_codec/i2s_es8311/main/example_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/peripherals/i2s/i2s_codec/i2s_es8311/main/example_config.h b/examples/peripherals/i2s/i2s_codec/i2s_es8311/main/example_config.h index b28e49625f..5c3181c4e2 100644 --- a/examples/peripherals/i2s/i2s_codec/i2s_es8311/main/example_config.h +++ b/examples/peripherals/i2s/i2s_codec/i2s_es8311/main/example_config.h @@ -43,8 +43,8 @@ #define I2S_MCK_IO (GPIO_NUM_13) #define I2S_BCK_IO (GPIO_NUM_12) #define I2S_WS_IO (GPIO_NUM_10) -#define I2S_DO_IO (GPIO_NUM_11) -#define I2S_DI_IO (GPIO_NUM_9) +#define I2S_DO_IO (GPIO_NUM_9) +#define I2S_DI_IO (GPIO_NUM_11) #else #define I2S_MCK_IO (GPIO_NUM_0) #define I2S_BCK_IO (GPIO_NUM_4)