Skip to content

Commit 3454aba

Browse files
committed
Update HiFreq_ADC.ino
1 parent 00b89b7 commit 3454aba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/ESP32/examples/I2S/HiFreq_ADC/HiFreq_ADC.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ void i2sInit(){
5252
.use_apll = false,
5353
.tx_desc_auto_clear = false,
5454
.fixed_mclk = 0,
55-
.mclk_multiple = esp_i2s::I2S_MCLK_MULTIPLE_128,
56-
.bits_per_chan = esp_i2s::I2S_BITS_PER_CHAN_DEFAULT
55+
.mclk_multiple = I2S_MCLK_MULTIPLE_128,
56+
.bits_per_chan = I2S_BITS_PER_CHAN_DEFAULT
5757
};
5858
Serial.printf("Attempting to setup I2S ADC with sampling frequency %d Hz\n", I2S_SAMPLE_RATE);
5959
if(ESP_OK != i2s_driver_install(I2S_NUM_0, &i2s_config, 0, NULL)){

0 commit comments

Comments
 (0)