mirror of
https://github.com/monero-project/monero.git
synced 2025-08-03 08:46:14 -04:00
Add NanoX support
This commit is contained in:
parent
0eb2c7b272
commit
83fc45a413
3 changed files with 26 additions and 5 deletions
|
@ -389,10 +389,15 @@ namespace hw {
|
|||
MDEBUG( "Device "<<this->id <<" HIDUSB inited");
|
||||
return true;
|
||||
}
|
||||
|
||||
static const std::vector<hw::io::hid_conn_params> known_devices {
|
||||
{0x2c97, 0x0001, 0, 0xffa0},
|
||||
{0x2c97, 0x0004, 0, 0xffa0},
|
||||
};
|
||||
|
||||
bool device_ledger::connect(void) {
|
||||
this->disconnect();
|
||||
hw_device.connect(0x2c97, 0x0001, 0, 0xffa0);
|
||||
hw_device.connect(known_devices);
|
||||
this->reset();
|
||||
#ifdef DEBUG_HWDEVICE
|
||||
cryptonote::account_public_address pubkey;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue