Skip to content

Commit 68fae50

Browse files
committed
ESP32 I2S use default interrupt level
1 parent 822f335 commit 68fae50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AudioI2S/I2SESP32.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ class I2SBase {
114114
.bits_per_sample = (i2s_bits_per_sample_t) cfg.bits_per_sample,
115115
.channel_format = I2S_CHANNEL_FMT_RIGHT_LEFT,
116116
.communication_format = toCommFormat(cfg.i2s_format),
117-
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // default interrupt priority
117+
.intr_alloc_flags = 0, // default interrupt priority
118118
.dma_buf_count = I2S_BUFFER_COUNT,
119119
.dma_buf_len = I2S_BUFFER_SIZE,
120120
.use_apll = (bool) cfg.use_apll,

0 commit comments

Comments
 (0)