mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 19:07:45 +08:00
Uploader: Fix flashing if multiple board types are connected
This commit is contained in:
@@ -565,6 +565,10 @@ try:
|
|||||||
|
|
||||||
except RuntimeError as ex:
|
except RuntimeError as ex:
|
||||||
|
|
||||||
|
if "not suitable" in ex.args:
|
||||||
|
up.close()
|
||||||
|
continue
|
||||||
|
else:
|
||||||
# print the error
|
# print the error
|
||||||
print("\nERROR: %s" % ex.args)
|
print("\nERROR: %s" % ex.args)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user