From ac2d980df3fdded7430104aad1519f221a7fbb32 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 18d6e09f25..87f1cbfecd 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 @@ -42,8 +42,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)