mirror of
https://github.com/monero-project/monero.git
synced 2024-10-01 11:49:47 -04:00
device_ledger: remove full_name variable
This variable was never set, resulting in the device name always showing as "disconnected".
This commit is contained in:
parent
094b0c4d00
commit
93c2164434
@ -322,7 +322,7 @@ namespace hw {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const std::string device_ledger::get_name() const {
|
const std::string device_ledger::get_name() const {
|
||||||
if (this->full_name.empty() || !this->connected()) {
|
if (!this->connected()) {
|
||||||
return std::string("<disconnected:").append(this->name).append(">");
|
return std::string("<disconnected:").append(this->name).append(">");
|
||||||
}
|
}
|
||||||
return this->name;
|
return this->name;
|
||||||
|
@ -85,7 +85,6 @@ namespace hw {
|
|||||||
|
|
||||||
//IO
|
//IO
|
||||||
hw::io::device_io_hid hw_device;
|
hw::io::device_io_hid hw_device;
|
||||||
std::string full_name;
|
|
||||||
unsigned int length_send;
|
unsigned int length_send;
|
||||||
unsigned char buffer_send[BUFFER_SEND_SIZE];
|
unsigned char buffer_send[BUFFER_SEND_SIZE];
|
||||||
unsigned int length_recv;
|
unsigned int length_recv;
|
||||||
|
Loading…
Reference in New Issue
Block a user