support determining if hww has usb interface

This commit is contained in:
Craig Raw 2024-05-10 09:52:03 +02:00
parent 33bf35e3c4
commit 571db32574

View file

@ -75,6 +75,11 @@ public enum WalletModel {
return (this == TAPSIGNER || this == SATSCHIP || this == SATSCARD || this == SATOCHIP);
}
public boolean hasUsb() {
return (this == TREZOR_1 || this == TREZOR_T || this == TREZOR_SAFE_3 || this == LEDGER_NANO_S || this == LEDGER_NANO_X || this == LEDGER_NANO_S_PLUS ||
this == DIGITALBITBOX_01 || this == BITBOX_02 || this == COLDCARD || this == KEEPKEY || this == JADE);
}
public int getMinPinLength() {
if(this == SATOCHIP) {
return 4;