mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-02 08:01:36 +08:00
MAVLink shell: Fix OS X default path
This commit is contained in:
@@ -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*'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user