Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement _detect_available_configs for Seeedbus #1690

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RyanHope
Copy link

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

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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants