Update components/es8388/es8388.cpp

This commit is contained in:
uncarvedblock committed 2026-10-31 16:12:47 -04:00
1 parent 10c5b62329
commit ed0be2b596
1 file changed
+3 -3
+3 -3
View File
@@ -52,7 +52,7 @@ static constexpr i2c::I2CRegValue ES8388_INIT[] PROGMEM = {
// power down ADC; volume: +9dB
{ES8388_ADCPOWER, 0xFF},
{ES8388_ADCCONTROL1, 0x88},
{ES8388_ADCCONTROL1, 0x88}, // +24dB
// ADC: select input LIN2+RIN2; stereo, 16bit, right-justified, MCLK/Fs=256
{ES8388_ADCCONTROL2, 0xF0},
@@ -67,10 +67,10 @@ static constexpr i2c::I2CRegValue ES8388_INIT[] PROGMEM = {
// ALC Config (as recommended by ES8388 user guide for voice recording)
{ES8388_ADCCONTROL1, 0x77}, // +21dB : recommended value for ALC & voice recording
{ES8388_ADCCONTROL10, 0xEA},
{ES8388_ADCCONTROL11, 0xC0},
{ES8388_ADCCONTROL11, 0x80},
{ES8388_ADCCONTROL12, 0x12},
{ES8388_ADCCONTROL13, 0x06},
{ES8388_ADCCONTROL14, 0xC5},
{ES8388_ADCCONTROL14, 0xC3},
// DAC: LOUT1 + ROUT1 volume : 0dB
{ES8388_DACCONTROL24, 0x1E},