Reducing timeout to 0.5 seconds

This commit is contained in:
Lorenz Meier
2013-09-10 14:09:09 +02:00
parent c3b6cea77a
commit 57769ec437
3 changed files with 192 additions and 1 deletions
+1 -1
View File
@@ -436,7 +436,7 @@ while True:
print("attempting reboot on %s..." % port)
up.send_reboot()
# wait for the reboot, without we might run into Serial I/O Error 5
time.sleep(1.5)
time.sleep(0.5)
continue
try: