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:
selsta 2019-01-09 05:32:04 +01:00
parent 094b0c4d00
commit 93c2164434
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E
2 changed files with 1 additions and 2 deletions

View file

@ -322,7 +322,7 @@ namespace hw {
}
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 this->name;

View file

@ -85,7 +85,6 @@ namespace hw {
//IO
hw::io::device_io_hid hw_device;
std::string full_name;
unsigned int length_send;
unsigned char buffer_send[BUFFER_SEND_SIZE];
unsigned int length_recv;