Merge pull request #5054

93c21644 device_ledger: remove full_name variable (selsta)
This commit is contained in:
Riccardo Spagni 2019-01-28 21:26:43 +02:00
commit 0c970fde1c
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
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;