Commit 2d75bb98 authored by Adam Blank's avatar Adam Blank
Browse files

Update ports.py

parent 12cd2c00
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -15,7 +15,7 @@ def get_trinkey_port():
ports = serial.tools.list_ports.comports()
for port, desc, hwid in sorted(serial.tools.list_ports.comports()):
if 'Trinkey' in desc or '239A' in desc.upper():
if 'Trinkey' in desc or '239A' in desc.upper() or '239A' in hwid.upper():
s = serial.Serial(port, baudrate=1152000)
return s
return None
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment