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

This commit is contained in:
gaoxu
2023-12-04 12:03:49 +08:00
parent 8c86ccc2c6
commit 44f266693a
6 changed files with 14 additions and 7 deletions
@@ -24,7 +24,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