forked from Archive/PX4-Autopilot
Jenkins HITL exit upload monitor on nsh>
This commit is contained in:
parent
c165a6f71b
commit
d1298f2c37
|
@ -26,6 +26,11 @@ def monitor_firmware_upload(port, baudrate):
|
|||
finished = 1
|
||||
break
|
||||
|
||||
if time.time() - timeout_start > 10:
|
||||
if "nsh>" in serial_line:
|
||||
finished = 1
|
||||
break
|
||||
|
||||
if time.time() > timeout_start + timeout:
|
||||
print("Error, timeout")
|
||||
finished = 1
|
||||
|
|
Loading…
Reference in New Issue