fix(adc): restore cali registers after light sleep wake up on H2 and enable test

This commit is contained in:
gaoxu
2023-11-20 17:38:34 +08:00
parent 11097a4fc2
commit 4f81883ccf
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