Skip to content

Commit

Permalink
Fix USB controller connection on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
MC325 committed Jul 25, 2024
1 parent ce4252c commit 633910d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion instec/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get_usb_controllers():
ports = list_ports.comports()
controller.usb = []
for port in ports:
conn = serial.Serial(port.name)
conn = serial.Serial(port.device)
conn.timeout = connection.TIMEOUT
try:
conn.open()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "instec"
version = "1.1.67"
version = "1.1.68"
authors = [
{ name="Matthew Chen", email="matthew.chen@instec.com" },
]
Expand Down

0 comments on commit 633910d

Please sign in to comment.