Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
B
buspirate-python
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Dorota Czaplejewicz
buspirate-python
Commits
b8243c3a
Commit
b8243c3a
authored
May 01, 2016
by
Jürgen Hasch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update buspirate detection
parent
4f8ae283
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
pyBusPirateLite/BBIO_base.py
pyBusPirateLite/BBIO_base.py
+4
-3
No files found.
pyBusPirateLite/BBIO_base.py
View file @
b8243c3a
...
...
@@ -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
break
if
hasattr
(
port
,
'pid'
)
and
hasattr
(
port
,
'vid'
):
if
port
.
vid
==
1027
and
port
.
pid
==
24577
:
portname
=
port
.
device
break
self
.
portname
=
portname
try
:
self
.
port
=
serial
.
Serial
(
portname
,
speed
,
timeout
=
timeout
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment