forked from Archive/PX4-Autopilot
MAVLink shell: Fix OS X default path
This commit is contained in:
parent
05bc9acfb7
commit
8d51e4ade1
|
@ -99,6 +99,9 @@ def main():
|
||||||
|
|
||||||
|
|
||||||
if args.port == None:
|
if args.port == None:
|
||||||
|
if sys.platform == "darwin":
|
||||||
|
args.port = "/dev/tty.usbmodem1"
|
||||||
|
else:
|
||||||
serial_list = mavutil.auto_detect_serial(preferred_list=['*FTDI*',
|
serial_list = mavutil.auto_detect_serial(preferred_list=['*FTDI*',
|
||||||
"*Arduino_Mega_2560*", "*3D_Robotics*", "*USB_to_UART*", '*PX4*', '*FMU*'])
|
"*Arduino_Mega_2560*", "*3D_Robotics*", "*USB_to_UART*", '*PX4*', '*FMU*'])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue