Обновление статуса загрузки прошивки в ArduinoIDE
Co-authored-by: KLASSENTS <klassen@elron.tech> Co-committed-by: KLASSENTS <klassen@elron.tech>
This commit is contained in:
parent
b88ba38dcd
commit
67759c6439
@ -77,7 +77,7 @@ DEFAULT_BAUDRATE = 230400
|
||||
|
||||
def createParser():
|
||||
parser = argparse.ArgumentParser(
|
||||
prog='bootloader.py',
|
||||
prog='elbear_uploader.py',
|
||||
description='''Script for writing to external flash on SPIFI interface'''
|
||||
)
|
||||
|
||||
@ -235,7 +235,7 @@ if namespace.hexpath:
|
||||
# printProgressBar(progress, 100, prefix = 'Upload:', suffix = 'Complete', length = 50)
|
||||
if time.time() > timestart + resolution:
|
||||
timestart += resolution
|
||||
print(f'Uploaded {int(progress)}%')
|
||||
print(f'Uploaded {int(progress)}%', flush=True)
|
||||
if progress == 100:
|
||||
all_showed = True
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user