Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Format code with black
  • Loading branch information
RyanHope committed Nov 14, 2023
commit 97db60a730f12d9c7a83a9ff16c8a5737e2ddae4
6 changes: 2 additions & 4 deletions can/interfaces/seeedstudio/seeedstudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,5 @@ def _detect_available_configs() -> List[AutoDetectedConfig]:
configs = []
for port in list_comports():
if port.vid == 0x1A86 and port.pid == 0x7523:
configs.append(
{"interface": "seeedstudio", "channel": port.device}
)
return configs
configs.append({"interface": "seeedstudio", "channel": port.device})
return configs
Copy link
Copy Markdown
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]