Skip to content

Commit

Permalink
Also list PCI devices as USB devices that do not have a short serial
Browse files Browse the repository at this point in the history
  • Loading branch information
andber1 committed Feb 19, 2024
1 parent 954a622 commit da0ed3b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/posix/enumerate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ fn port_type(d: &libudev::Device) -> Result<SerialPortType> {
d.property_value("ID_USB_MODEL_ID"),
d.property_value("ID_USB_VENDOR"),
d.property_value("ID_USB_MODEL"),
d.property_value("ID_USB_SERIAL_SHORT"),
]
.into_iter()
.collect::<Option<Vec<_>>>();
Expand Down

0 comments on commit da0ed3b

Please sign in to comment.