]> sigrok.org Git - libsigrok.git/commit
dcttech-usbrelay: adjust serial number and connection string logic
authorGerhard Sittig <redacted>
Thu, 22 Jul 2021 05:09:48 +0000 (07:09 +0200)
committerGerhard Sittig <redacted>
Thu, 22 Jul 2021 05:09:48 +0000 (07:09 +0200)
commite333a40c1c5a27806b8a6dd2611c54b23d11366b
tree13c76549e1a98b414b482c385de58793551a06c1
parent59f67655082859e84d365483177894d2f5f6be77
dcttech-usbrelay: adjust serial number and connection string logic

Store the USB relay card's serial number such that users can tell apart
multiple connected cards. Hold the HIDAPI path in the 'connection_id'
member because 'conn' is something internal, not for display purposes.
src/hardware/dcttech-usbrelay/api.c