diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-11 18:16:10 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-10-11 18:16:10 +0200 |
commit | 91f88b15f011abe85c85893d1fe50de6c8e4189d (patch) | |
tree | 40c5819c29bd7ec047819c5d7eac0acb68be1ada /include | |
parent | d9adae46dae6e2176e8765368d2902cc24da688b (diff) | |
parent | 1a446933032beca0b1c5764acf23940ceb7a43ab (diff) | |
download | libnitrokey-3.1.tar.gz libnitrokey-3.1.tar.bz2 |
Merge branch 'general-fixes'v3.1
Diffstat (limited to 'include')
-rw-r--r-- | include/device_proto.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/device_proto.h b/include/device_proto.h index 0be9ed1..388c721 100644 --- a/include/device_proto.h +++ b/include/device_proto.h @@ -393,12 +393,14 @@ namespace nitrokey { } LOG(std::string("<= ") + - std::string( - commandid_to_string(static_cast<CommandID>(resp.command_id)) - + std::string(" ") - + std::to_string(resp.storage_status.device_status) + std::string( + commandid_to_string(static_cast<CommandID>(resp.command_id)) + + std::string(" ") + + std::to_string(resp.device_status) + + std::string(" ") + + std::to_string(resp.storage_status.device_status) // + std::to_string( status_translate_command(resp.storage_status.device_status)) - ), Loglevel::DEBUG_L1); + ), Loglevel::DEBUG_L1); LOG("Incoming HID packet:", Loglevel::DEBUG); LOG(static_cast<std::string>(resp), Loglevel::DEBUG); |