aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--esp32/lego-piano.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/esp32/lego-piano.ino b/esp32/lego-piano.ino
index 73dce79..c9a766c 100644
--- a/esp32/lego-piano.ino
+++ b/esp32/lego-piano.ino
@@ -61,7 +61,7 @@ void setup() {
.sample_rate = sampleRate,
.bits_per_sample = I2S_BITS_PER_SAMPLE_16BIT,
.channel_format = I2S_CHANNEL_FMT_ALL_RIGHT,
- .intr_alloc_flags = 0, // default interrupt priority
+ .intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // high interrupt priority
.dma_buf_count = 8,
.dma_buf_len = 64,
.use_apll = false