1
0
Fork 0

tools: wasptool: Wait longer for DFU to come up

Signed-off-by: Daniel Thompson <daniel@redfelineninja.org.uk>
This commit is contained in:
Daniel Thompson 2020-10-10 21:02:56 +01:00
parent 19569b7552
commit b6357ad4d8

View file

@ -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')