kopia lustrzana https://github.com/espressif/esp-idf
fix system not stable bug when dbias storing in efuse is bigger than 27
rodzic
59a5bf61e9
commit
4dddb6d8e8
|
@ -321,8 +321,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;
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue