mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-11-04 12:59:07 +01:00
Device: Allow skipping of device state refreshing on call to open
This commit is contained in:
committed by
Kyle Schwarz
parent
dffb0bcefb
commit
645549193d
@@ -30,7 +30,6 @@ def update(firmware_path):
|
||||
print()
|
||||
last_status = status
|
||||
print(f"\r{status}" + (f" ({progress * 100:.1f}%)" if progress is not None else ""), end="", flush=True)
|
||||
return icsneopy.Device.OpenDirective.Continue
|
||||
|
||||
# force_flash updates every chip, even those already at the version in the firmware file
|
||||
ok = icsneopy.Bootloader.update(device, fw, logger, force_flash=True)
|
||||
|
||||
Reference in New Issue
Block a user