aboutsummaryrefslogtreecommitdiff
path: root/include/device_proto.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2017-05-13 10:07:56 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2017-05-13 10:13:05 +0200
commitad1d4605fdafc44fcba1bef57b874759f18a94e6 (patch)
tree148a5199cc68a520fb31fc61b6a67fe1e2310a1b /include/device_proto.h
parent79b616830381d0ea5f89e920b55f154d2e7e06ce (diff)
downloadlibnitrokey-ad1d4605fdafc44fcba1bef57b874759f18a94e6.tar.gz
libnitrokey-ad1d4605fdafc44fcba1bef57b874759f18a94e6.tar.bz2
Code refactoring
Remove doubled implementation Remove clutter from DEBUG log level Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/device_proto.h')
-rw-r--r--include/device_proto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/device_proto.h b/include/device_proto.h
index ad2dbae..0d355ce 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -362,7 +362,7 @@ namespace nitrokey {
LOG("Incoming HID packet:", Loglevel::DEBUG);
LOG(static_cast<std::string>(resp), Loglevel::DEBUG);
LOG(std::string("receiving_retry_counter count: ") + std::to_string(receiving_retry_counter),
- Loglevel::DEBUG);
+ Loglevel::DEBUG_L2);
if (resp.device_status == static_cast<uint8_t>(stick10::device_status::busy) &&
static_cast<stick20::device_status>(resp.storage_status.device_status)