Vector: use global channel_index if provided by zariiii9003 · Pull Request #1681 · hardbyte/python-can
Conversation
VectorBus._detect_available_configs() might return multiple devices with the same serial number, e.g. if a VN8900 is connected via both USB and Ethernet at the same time. If the VectorBus is instantiated with a config, that was returned from VectorBus._detect_available_configs(), then use the contained global channel_index to avoid any ambiguities.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters