tools: wasptool: Increase OTA reboot timeout
Currently --ota works "most of the time" but occasionally the OTA fails to start. Let's give the reset an extra second to settle! Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
ba8546dd60
commit
da71d39aa4
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if args.ota:
|
if args.ota:
|
||||||
handle_reset(console, ota=True)
|
handle_reset(console, ota=True)
|
||||||
time.sleep(1.0)
|
time.sleep(2.0)
|
||||||
dfu = os.path.dirname(sys.argv[0]) + '/ota-dfu/dfu.py'
|
dfu = os.path.dirname(sys.argv[0]) + '/ota-dfu/dfu.py'
|
||||||
os.execl(dfu, dfu, '-z', args.ota, '-a', macaddr, '--legacy')
|
os.execl(dfu, dfu, '-z', args.ota, '-a', macaddr, '--legacy')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue