forked from Archive/PX4-Autopilot
Update MAVLink shell default device for modern Mac OS
The enumeration changed from usbmodem1 to usbmodem01 and this tracks this OS-level naming change.
This commit is contained in:
parent
0b74076265
commit
b14d0e4326
|
@ -113,7 +113,7 @@ def main():
|
|||
|
||||
if args.port == None:
|
||||
if sys.platform == "darwin":
|
||||
args.port = "/dev/tty.usbmodem1"
|
||||
args.port = "/dev/tty.usbmodem01"
|
||||
else:
|
||||
serial_list = mavutil.auto_detect_serial(preferred_list=['*FTDI*',
|
||||
"*Arduino_Mega_2560*", "*3D_Robotics*", "*USB_to_UART*", '*PX4*', '*FMU*', "*Gumstix*"])
|
||||
|
|
Loading…
Reference in New Issue