Update esp32_i2s_parallel_dma.c

This commit is contained in:
mrfaptastic 2023-02-20 18:42:02 +10:00 committed by GitHub
parent 86063fe594
commit 6b86ae8c01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,8 +41,8 @@ void setShiftCompleteCallback(callback f) {
shiftCompleteCallback = f;
}
volatile int previousBufferOutputLoopCount = 0;
volatile bool previousBufferFree = true;
volatile int DRAM_ATTR previousBufferOutputLoopCount = 0;
volatile bool DRAM_ATTR previousBufferFree = true;
static void IRAM_ATTR irq_hndlr(void* arg) { // if we use I2S1 (default)