mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #5054
93c21644
device_ledger: remove full_name variable (selsta)
This commit is contained in:
commit
0c970fde1c
2 changed files with 1 additions and 2 deletions
|
@ -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 a new issue