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:
Lorenz Meier 2020-10-21 15:58:41 +02:00 committed by Daniel Agar
parent 0b74076265
commit b14d0e4326
1 changed files with 1 additions and 1 deletions

View File

@ -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*"])