Skip to content

Commit 2dabc1e

Browse files
committed
correct DMA interrupt priority setting
1 parent 19b274c commit 2dabc1e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/I2S/src/utility/DMA.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void DMAClass::begin()
5959

6060
// enable the interrupt at lowest priority
6161
NVIC_EnableIRQ(DMAC_IRQn);
62-
NVIC_SetPriority(I2S_IRQn, (1 << __NVIC_PRIO_BITS) - 1);
62+
NVIC_SetPriority(DMAC_IRQn, (1 << __NVIC_PRIO_BITS) - 1);
6363
}
6464

6565
_beginCount++;

0 commit comments

Comments
 (0)