Added replug usb message

This commit is contained in:
kevindehecker
2016-03-14 16:38:29 +01:00
parent edf05df4a3
commit e9a596f163
+3 -1
View File
@@ -49,6 +49,8 @@ if mode == 1 :
pass pass
print("Uploading using Paparazzi firmware...") print("Uploading using Paparazzi firmware...")
if target == "ap" :
print("If the uploading does not start within a few seconds, please replug the usb (power cycle the board).")
sys.exit(0) sys.exit(0)
if mode == -1 : #no pprz cdc was found, look for PX4 if mode == -1 : #no pprz cdc was found, look for PX4
@@ -74,4 +76,4 @@ if mode == -1 : #no pprz cdc was found, look for PX4
sys.exit(1) sys.exit(1)
else : else :
print("Uploading AP using original PX4 firmware...") print("Uploading AP using original PX4 firmware...")
print("If the uploading does not start within a few seconds, please replug the usb (power cycle the board).")