Commit b8243c3a authored by Jürgen Hasch's avatar Jürgen Hasch

Update buspirate detection

parent 4f8ae283
......@@ -162,9 +162,10 @@ class BBIO_base:
if portname == '':
ports = list_ports.comports()
for port in ports:
if port.description == 'FT232R USB UART':
portname = port.device
if hasattr(port, 'pid') and hasattr(port, 'vid'):
if port.vid == 1027 and == 24577:
portname = port.device
self.portname = portname
self.port = serial.Serial(portname, speed, timeout=timeout)
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