Skip to content

Implement _detect_available_configs for Seeedbus #1690

New issue

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

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

Already on GitHub? # to your account

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]

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants