File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
ardupilot_methodic_configurator Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ def connect(
234234 except OSError :
235235 pass # Not a soft link, proceed with the original device path
236236 err = self ._register_and_try_connect (
237- comport = autodetect_serial [0 ],
237+ comport = autodetect_serial [- 1 ],
238238 progress_callback = progress_callback ,
239239 baudrate = connection_baudrate ,
240240 log_errors = False ,
@@ -1157,12 +1157,12 @@ def __list_network_ports() -> list[str]:
11571157 def __auto_detect_serial (self ) -> list [mavutil .SerialPort ]:
11581158 preferred_ports = [
11591159 "*FTDI*" ,
1160- "*Arduino_Mega_2560*" ,
11611160 "*3D*" ,
11621161 "*USB_to_UART*" ,
11631162 "*Ardu*" ,
11641163 "*PX4*" ,
11651164 "*Hex_*" ,
1165+ "*ProfiCNC*" ,
11661166 "*Holybro_*" ,
11671167 "*mRo*" ,
11681168 "*FMU*" ,
You can’t perform that action at this time.
0 commit comments