Update esp32_i2s_parallel_dma.hpp

Makes ESP32_I2S_DEVICE adjustable via compile time define on ESP32 (original)
This commit is contained in:
mrfaptastic 2023-02-03 21:37:19 +00:00 committed by GitHub
parent da22bb835b
commit 0a44e210be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -49,7 +49,9 @@ Contributors:
#define DMA_MAX (4096-4) #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 // The type used for this SoC
#define HUB75_DMA_DESCRIPTOR_T lldesc_t #define HUB75_DMA_DESCRIPTOR_T lldesc_t
@ -144,4 +146,4 @@ i2s_dev_t* getDev();
}; };