Merge branch 'bugfix/fix_c3_dig_dibas_limit_bug_to_v4.4' into 'release/v4.4'

C3: Fix system not stable bug when dbias storing in efuse is bigger than 27 (v4.4)

See merge request espressif/esp-idf!20498
This commit is contained in:
Jiang Jiang Jian 2022-10-17 17:58:38 +08:00
commit 3047225a9f

View File

@ -320,8 +320,8 @@ static void set_rtc_dig_dbias()
if (chip_version >= 3) {
dig_dbias = get_dig_dbias_by_efuse(chip_version);
if (dig_dbias != 0) {
if (dig_dbias + 4 > 28) {
dig_dbias = 28;
if (dig_dbias + 4 > 31) {
dig_dbias = 31;
} else {
dig_dbias += 4;
}