Skip to content

Commit

Permalink
Merge pull request #90 from wizardsardine/serial-com-do-not-check-Pci
Browse files Browse the repository at this point in the history
Do not check for Pci in serial com
  • Loading branch information
edouardparis authored Jun 25, 2024
2 parents 5acde15 + c370eed commit 278a892
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/jade/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,6 @@ impl SerialTransport {
Ok(ports) => Ok(ports
.into_iter()
.filter_map(|p| match p.port_type {
SerialPortType::PciPort => Some(p.port_name),
SerialPortType::UsbPort(info) => {
if JADE_DEVICE_IDS.contains(&(info.vid, info.pid)) {
Some(p.port_name)
Expand Down
1 change: 0 additions & 1 deletion src/specter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,6 @@ impl SerialTransport {
Ok(ports) => Ok(ports
.into_iter()
.filter_map(|p| match p.port_type {
SerialPortType::PciPort => Some(p.port_name),
SerialPortType::UsbPort(info) => {
if info.vid == SerialTransport::SPECTER_VID
&& info.pid == SerialTransport::SPECTER_PID
Expand Down

0 comments on commit 278a892

Please sign in to comment.