diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2017-01-13 12:04:52 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2017-03-11 15:41:38 +0100 |
commit | deed3e733e7158859fd48ef51b64d924ea4e8184 (patch) | |
tree | b52b188626685a63bf3be184d235f898d37a71a0 /include/device_proto.h | |
parent | 87252d46294515cc5fcf49eb08c8b1c19b49d27a (diff) | |
download | libnitrokey-deed3e733e7158859fd48ef51b64d924ea4e8184.tar.gz libnitrokey-deed3e733e7158859fd48ef51b64d924ea4e8184.tar.bz2 |
Decrease retry count to 20
Update log message to be more readable
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'include/device_proto.h')
-rw-r--r-- | include/device_proto.h | 2 |
1 files changed, 1 insertions, 1 deletions
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); |