dcttech-usbrelay: rework scan (enumeration) and probe (identification)
authorGerhard Sittig <gerhard.sittig@gmx.net>
Thu, 22 Jul 2021 05:59:34 +0000 (07:59 +0200)
committerGerhard Sittig <gerhard.sittig@gmx.net>
Thu, 22 Jul 2021 05:59:34 +0000 (07:59 +0200)
commit996331ce9ba6f43e683b0b8ba4cbf3ef24546d36
tree0afe943005820ce6f44a0739e35623afa524524c
parente333a40c1c5a27806b8a6dd2611c54b23d11366b
dcttech-usbrelay: rework scan (enumeration) and probe (identification)

Move all of the sdi creation into the probe routine which communicates
to the relay card. Extend diagnostics in that code path. Which leaves
pure USB enumeration in the scan routine.
src/hardware/dcttech-usbrelay/api.c