Merge branch 'bugfix/fix_adc_cali_error_after_light_sleep_wake_on_h2' into 'master'

adc: fix calibration error when waking up from light sleep on H2 and enable test

Closes IDF-8569

See merge request espressif/esp-idf!27242
This commit is contained in:
Gao Xu
2023-11-24 18:25:35 +08:00
6 changed files with 14 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
* SPDX-FileCopyrightText: 2015-2023 Espressif Systems (Shanghai) CO LTD
*
* SPDX-License-Identifier: Apache-2.0
*/
@@ -27,7 +27,7 @@
/**
* Restore regi2c analog calibration related configuration registers.
* This is a workaround, and is fixed on later chips
* This is a workaround for calibration error when waking up from light sleep
*/
#define REGI2C_ANA_CALI_PD_WORKAROUND 1
#define REGI2C_ANA_CALI_BYTE_NUM 8