Update components/es8388/es8388.cpp

This commit is contained in:
uncarvedblock committed 2026-10-30 14:38:59 -04:00
1 parent 3ed3365d2a
commit 5e63b449f8
1 file changed
+4 -4
+4 -4
View File
@@ -63,15 +63,15 @@ static constexpr i2c::I2CRegValue ES8388_INIT[] PROGMEM = {
//@nightDav
// ALC Config (as recommended by ES8388 user guide for voice recording)
// Reg 0x12 = 0xe2 (ALC enable, PGA Max. Gain=23.5dB, Min. Gain=0dB)
{ES8388_ADCCONTROL10, 0xe2},
{ES8388_ADCCONTROL10, 0xea},
// Reg 0x13 = 0xa0 (ALC Target=-1.5dB, ALC Hold time =0 mS)
{ES8388_ADCCONTROL11, 0xa0},
{ES8388_ADCCONTROL11, 0xc0},
// Reg 0x14 = 0x12(Decay time =820uS , Attack time = 416 uS)
{ES8388_ADCCONTROL12, 0x12},
// Reg 0x15 = 0x06(ALC mode)
{ES8388_ADCCONTROL13, 0x06},
{ES8388_ADCCONTROL13, 0x6},
// Reg 0x16 = 0xc3(nose gate = -40.5dB, NGG = 0x01(mute ADC))
{ES8388_ADCCONTROL14, 0xc3},
{ES8388_ADCCONTROL14, 0xc5},
// Power on ADC
{ES8388_DACCONTROL21, 0x80},
// Start state machine