From 92f31c32a87afa39992090e970433a07ef23937f Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Tue, 4 Jan 2022 11:03:34 +0000 Subject: [PATCH] Update esp32_i2s_parallel_dma.h Close #231 --- esp32_i2s_parallel_dma.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/esp32_i2s_parallel_dma.h b/esp32_i2s_parallel_dma.h index 12e2e65..1c5b9ab 100644 --- a/esp32_i2s_parallel_dma.h +++ b/esp32_i2s_parallel_dma.h @@ -53,10 +53,12 @@ static inline int i2s_parallel_get_memory_width(i2s_port_t port, i2s_parallel_cf case I2S_PARALLEL_WIDTH_8: #ifdef ESP32_ORIG - // IS21 supports space saving single byte 8 bit parallel access + // Only I2S1 on the legacy ESP32 WROOM MCU supports space saving single byte 8 bit parallel access if(port == I2S_NUM_1) { return 1; - } + } else { + return 2; + } #else return 1; #endif