Skip to content

Commit

Permalink
Include ACM* usb devices in available ports.
Browse files Browse the repository at this point in the history
  • Loading branch information
linguini1 committed Jun 10, 2024
1 parent 51063bd commit c403ea1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/serial/serial_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ def update_serial_ports(serial_status: Queue[str]) -> list[str]:
elif sys.platform.startswith("linux") or sys.platform.startswith("cygwin"):
# '/dev/tty[A-Za-z]*'
com_ports = glob.glob("/dev/ttyUSB*")
com_ports += glob.glob("/dev/ACM*")
elif sys.platform.startswith("darwin"):
com_ports = glob.glob("/dev/tty.*")

Expand Down

0 comments on commit c403ea1

Please sign in to comment.