Skip to content

Commit 599cbea

Browse files
committed
Cleanup es8388_init
1 parent 21af213 commit 599cbea

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/Driver/es8388/es8388.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -235,10 +235,6 @@ error_t es8388_init(codec_config_t *cfg, i2c_bus_handle_t handle)
235235
AD_LOGI("Found ES8388");
236236
}
237237

238-
#ifdef CONFIG_ESP_LYRAT_V4_3_BOARD
239-
headphone_detect_init(get_headphone_detect_gpio());
240-
#endif
241-
242238

243239
res |= es_write_reg(ES8388_ADDR, ES8388_DACCONTROL3, 0x04); // 0x04 mute/0x00 unmute&ramp;DAC unmute and disabled digital volume control soft ramp
244240
/* Chip Control and Power Management */

0 commit comments

Comments
 (0)