feat(espefuse): check_error --recover chip even if there are num_errors

This commit is contained in:
KonstantinKondrashov
2024-01-16 19:11:23 +08:00
committed by Radim Karniš
parent 16e4faeeaa
commit f72b5ad13c

View File

@@ -684,7 +684,8 @@ def burn_bit(esp, efuses, args):
def get_error_summary(efuses):
error_in_blocks = efuses.get_coding_scheme_warnings()
efuses.get_coding_scheme_warnings()
error_in_blocks = any(blk.fail or blk.num_errors != 0 for blk in efuses.blocks)
if not error_in_blocks:
return False
writable = True