Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implement _detect_available_configs for Seeedbus#1690

Open
RyanHope wants to merge 2 commits intohardbyte:main from
MCU-Innovations:seeedbus
Open

Implement _detect_available_configs for Seeedbus #1690
RyanHope wants to merge 2 commits intohardbyte:main from
MCU-Innovations:seeedbus

Conversation

@RyanHope
Copy link

@RyanHope RyanHope commented Nov 14, 2023

Implements a _detect_available_configs method for Seeedbus

for port in list_comports():
if port.vid == 0x1A86 and port.pid == 0x7523:
configs.append({"interface": "seeedstudio", "channel": port.device})
return configs
Copy link
Collaborator

@zariiii9003 zariiii9003 Nov 16, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
return configs
return configs# type: ignore[return-value]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@zariiii9003 zariiii9003 zariiii9003 left review comments

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Comments

AltStyle によって変換されたページ (->オリジナル) /