MAVLink shell: Fix OS X default path

This commit is contained in:
Lorenz Meier 2016-10-23 17:46:22 +02:00
parent 05bc9acfb7
commit 8d51e4ade1
1 changed files with 14 additions and 11 deletions

View File

@ -99,6 +99,9 @@ def main():
if args.port == None:
if sys.platform == "darwin":
args.port = "/dev/tty.usbmodem1"
else:
serial_list = mavutil.auto_detect_serial(preferred_list=['*FTDI*',
"*Arduino_Mega_2560*", "*3D_Robotics*", "*USB_to_UART*", '*PX4*', '*FMU*'])