Update esp32_i2s_parallel_dma.hpp
Makes ESP32_I2S_DEVICE adjustable via compile time define on ESP32 (original)
This commit is contained in:
parent
da22bb835b
commit
0a44e210be
1 changed files with 4 additions and 2 deletions
|
@ -49,7 +49,9 @@ Contributors:
|
|||
|
||||
#define DMA_MAX (4096-4)
|
||||
|
||||
#define ESP32_I2S_DEVICE I2S_NUM_0
|
||||
#ifndef ESP32_I2S_DEVICE
|
||||
#define ESP32_I2S_DEVICE I2S_NUM_0
|
||||
#endif
|
||||
|
||||
// The type used for this SoC
|
||||
#define HUB75_DMA_DESCRIPTOR_T lldesc_t
|
||||
|
|
Loading…
Reference in a new issue