mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
C3: Fix system not stable bug when dbias storing in efuse is bigger than 27
This commit is contained in:
parent
d39da71671
commit
d7dcb88fdc
@ -321,8 +321,8 @@ static void set_rtc_dig_dbias()
|
|||||||
if (chip_version >= 3) {
|
if (chip_version >= 3) {
|
||||||
dig_dbias = get_dig_dbias_by_efuse(chip_version);
|
dig_dbias = get_dig_dbias_by_efuse(chip_version);
|
||||||
if (dig_dbias != 0) {
|
if (dig_dbias != 0) {
|
||||||
if (dig_dbias + 4 > 28) {
|
if (dig_dbias + 4 > 31) {
|
||||||
dig_dbias = 28;
|
dig_dbias = 31;
|
||||||
} else {
|
} else {
|
||||||
dig_dbias += 4;
|
dig_dbias += 4;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user