tools: wasptool: Wait longer for DFU to come up
Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
parent
19569b7552
commit
b6357ad4d8
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ if __name__ == '__main__':
|
||||||
|
|
||||||
if args.ota:
|
if args.ota:
|
||||||
handle_reset(console, ota=True)
|
handle_reset(console, ota=True)
|
||||||
time.sleep(0.5)
|
time.sleep(1.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