]> sigrok.org Git - pulseview.git/commit
HardwareDevice: Only show non-empty device name components.
authorUwe Hermann <redacted>
Tue, 24 Jul 2018 20:07:25 +0000 (22:07 +0200)
committerUwe Hermann <redacted>
Tue, 24 Jul 2018 20:09:51 +0000 (22:09 +0200)
commit2a09e77148279258c347f8cf9c55daa667a034f8
tree713b047e1e41944b61f7aa8c0b0299aa4490bff9
parentab89256886a313bef5172191d3f8864415913012
HardwareDevice: Only show non-empty device name components.

Fields such as vendor, version, serial number etc. are not always
provided by drivers. Avoid printing them, since it causes stray
whitespace to be added to the displayed strings.
pv/devices/hardwaredevice.cpp