mirror of
https://github.com/espressif/esptool.git
synced 2025-10-20 04:54:31 +08:00
feat(espefuse): check_error --recover chip even if there are num_errors
This commit is contained in:

committed by
Radim Karniš

parent
16e4faeeaa
commit
f72b5ad13c
@@ -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
|
||||
|
Reference in New Issue
Block a user