-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new "single" attribut for FTDI devices.
FTDI devices could be selected with a module index (read value of some pins) or a serial. In some setups there is only one module present which can be identified with the VID and PID only. The new attribute "single" checks for exactly one device with the VID and PID. It throws an error if 0 or more than 1 devices with this VID and PID are found. Example for the syntax: <FTDI vendor="0x0403" product="0x6010"> <Device single="true"/> </FTDI>
- Loading branch information
1 parent
9e07ac7
commit 464b3f4
Showing
2 changed files
with
45 additions
and
23 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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