device: extended logging, refactored device selection code

This commit is contained in:
xiphon 2018-10-18 03:33:42 +00:00
parent 825d836f9f
commit 25d327e796
3 changed files with 46 additions and 20 deletions

View file

@ -340,7 +340,7 @@ namespace hw {
bool device_ledger::connect(void) {
this->disconnect();
hw_device.connect(0x2c97,0x0001, 0, 0xffa0, hw_device.OR_SELECT);
hw_device.connect(0x2c97, 0x0001, 0, 0xffa0);
this->reset();
#ifdef DEBUG_HWDEVICE
cryptonote::account_public_address pubkey;