Skip to content

Commit

Permalink
feat(espefuse): check_error --recover chip even if there are num_errors
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstantinKondrashov authored and radimkarnis committed Jan 19, 2024
1 parent 16e4fae commit f72b5ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion espefuse/efuse/base_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f72b5ad

Please sign in to comment.