parent
2fe19b0cbe
commit
92f31c32a8
1 changed files with 4 additions and 2 deletions
|
@ -53,9 +53,11 @@ static inline int i2s_parallel_get_memory_width(i2s_port_t port, i2s_parallel_cf
|
||||||
case I2S_PARALLEL_WIDTH_8:
|
case I2S_PARALLEL_WIDTH_8:
|
||||||
|
|
||||||
#ifdef ESP32_ORIG
|
#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) {
|
if(port == I2S_NUM_1) {
|
||||||
return 1;
|
return 1;
|
||||||
|
} else {
|
||||||
|
return 2;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
return 1;
|
return 1;
|
||||||
|
|
Loading…
Reference in a new issue