mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-23 14:47:44 +08:00
Jenkins HITL exit upload monitor on nsh>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user