examples: testlibusb: Always print VID and PID in addition to strings
authorChris Dickens <christopher.a.dickens@gmail.com>
Mon, 13 Jan 2020 20:50:40 +0000 (12:50 -0800)
committerChris Dickens <christopher.a.dickens@gmail.com>
Mon, 13 Jan 2020 20:50:40 +0000 (12:50 -0800)
commitcb95e3ad35319eb1898eff791391a696a85775a5
treefd5b138d01a464db639852eca686c434b26373a6
parent88ded79caa4c388739de140d709ccba6397ddd14
examples: testlibusb: Always print VID and PID in addition to strings

Previously the program would only print the VID when the manufacturer
string is unavailable and the PID when the product string is
unavailable. Change this to print the VID and PID unconditionally and
print the manufacturer and product strings similar to how the serial
number string is being printed. In addition, line up the string values
with the rest of the output.

Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
examples/testlibusb.c
libusb/version_nano.h