Skip to content

Commit 7a3b461

Browse files
Update I2S configuration with new interrupt priority setting
Added a new interrupt priority setting to the I2S configuration for better control and handling of interrupts.
1 parent 7d4c94c commit 7a3b461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ESP_I2S/src/ESP_I2S.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#define I2S_READ_CHUNK_SIZE 1920
1313

1414
#define I2S_DEFAULT_CFG() \
15-
{ .id = I2S_NUM_AUTO, .role = I2S_ROLE_MASTER, .dma_desc_num = 6, .dma_frame_num = 240, .auto_clear = true, }
15+
{ .id = I2S_NUM_AUTO, .role = I2S_ROLE_MASTER, .dma_desc_num = 6, .dma_frame_num = 240, .auto_clear = true, .intr_priority = 0, }
1616

1717
#define I2S_STD_CHAN_CFG(_sample_rate, _data_bit_width, _slot_mode) \
1818
{ \

0 commit comments

Comments
 (0)