summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Thompson <daniel@redfelineninja.org.uk>2021-09-10 20:14:37 (GMT)
committerDaniel Thompson <daniel@redfelineninja.org.uk>2021-09-10 20:17:57 (GMT)
commitda71d39aa4155439c79493fbffe8542f06b94713 (patch)
tree44bed3d671d0a40a4fda5a3353b67475167fc39b
parentba8546dd605799c189ccce778b0c468cb129054d (diff)
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>
-rwxr-xr-xtools/wasptool2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/wasptool b/tools/wasptool
index 39d32f3..4bfd2f4 100755
--- a/tools/wasptool
+++ b/tools/wasptool
@@ -447,7 +447,7 @@ if __name__ == '__main__':
if args.ota:
handle_reset(console, ota=True)
- time.sleep(1.0)
+ time.sleep(2.0)
dfu = os.path.dirname(sys.argv[0]) + '/ota-dfu/dfu.py'
os.execl(dfu, dfu, '-z', args.ota, '-a', macaddr, '--legacy')