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
@@ -28,7 +28,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