Skip to content

Commit

Permalink
Do not check for Pci in serial com
Browse files Browse the repository at this point in the history
I do not know what i was thinking while
scanning for Pci port. A Pci port may hold
the communication and it is unclear to know
if it is an external hardware wallet.
  • Loading branch information
edouardparis committed Jun 25, 2024
1 parent 5acde15 commit c370eed
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 c370eed

Please sign in to comment.