Skip to content

Commit 3529790

Browse files
committed
Update mp34dt05.cpp
1 parent 10162a3 commit 3529790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Mikrofon/src/mp34dt05.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ void micBegin() {
2020
.sample_rate = SAMPLE_RATE,
2121
.bits_per_sample = I2S_BITS_PER_SAMPLE_32BIT,
2222
.channel_format = I2S_CHANNEL_FMT_ONLY_LEFT, // although the SEL config should be left, it seems to transmit on right
23-
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_I2S | I2S_COMM_FORMAT_I2S_LSB),
23+
.communication_format = i2s_comm_format_t(I2S_COMM_FORMAT_STAND_I2S | I2S_COMM_FORMAT_STAND_MSB),
2424
.intr_alloc_flags = ESP_INTR_FLAG_LEVEL1, // high interrupt priority
2525
.dma_buf_count = 4,
2626
.dma_buf_len = BLOCK_SIZE

0 commit comments

Comments
 (0)