diff --git a/src/jade/mod.rs b/src/jade/mod.rs index 5f87919..73d1303 100644 --- a/src/jade/mod.rs +++ b/src/jade/mod.rs @@ -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) diff --git a/src/specter.rs b/src/specter.rs index e019aba..509ccab 100644 --- a/src/specter.rs +++ b/src/specter.rs @@ -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