device_ledger: remove full_name variable

This variable was never set, resulting in the
device name always showing as "disconnected".
pull/160/head
selsta 5 years ago committed by wowario
parent 84ca8550d2
commit 31abdddd1b
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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;

@ -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;

Loading…
Cancel
Save