summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.cc2
-rw-r--r--include/device_proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/device.cc b/device.cc
index e6fe98e..532ba2e 100644
--- a/device.cc
+++ b/device.cc
@@ -107,7 +107,7 @@ int Device::recv(void *packet) {
}
Stick10::Stick10():
- Device(0x20a0, 0x4108, DeviceModel::PRO, 100ms, 100, 100ms)
+ Device(0x20a0, 0x4108, DeviceModel::PRO, 100ms, 20, 100ms)
{}
diff --git a/include/device_proto.h b/include/device_proto.h
index 31bfe11..2105f30 100644
--- a/include/device_proto.h
+++ b/include/device_proto.h
@@ -296,7 +296,7 @@ namespace nitrokey {
successful_communication = true;
break;
}
- Log::instance()(std::string("Retry status - dev status, equal crc, correct CRC: ")
+ Log::instance()(std::string("Retry status - dev status, awaited cmd crc, correct packet CRC: ")
+ std::to_string(resp.device_status) + " " +
std::to_string(resp.last_command_crc == outp.crc) +
" " + std::to_string(resp.isCRCcorrect()), Loglevel::DEBUG_L2);