Skip to content

Commit 061dd4d

Browse files
committed
2 parents cbaa368 + 935758f commit 061dd4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Driver/es8388/es8388.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ error_t es8388_init(codec_config_t *cfg, i2c_bus_handle_t handle) {
347347
} else if (ADC_INPUT_LINE2 == cfg->input_device) {
348348
tmp = ESP8388_INPUT_LINPUT2_RINPUT2;
349349
} else {
350-
tmp = ADC_INPUT_DIFFERENCE;
350+
tmp = ESP8388_INPUT_DIFFERENCE;
351351
}
352352
res |= es_write_reg(ES8388_ADDR, ES8388_ADCCONTROL2,
353353
tmp); // 0x00 LINSEL & RINSEL, LIN1/RIN1 as ADC Input;

0 commit comments

Comments
 (0)