diff options
author | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-20 19:10:19 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-20 19:10:19 +0100 |
commit | f4d89f0893030f0b8827f3be0d07ebd4de89b315 (patch) | |
tree | 37634d5f7a197def9e37f993abf9179ccd3e4f95 /device.cc | |
parent | 3fde2fb57101fe9c47cf6cc2d411be8eadc88e5c (diff) | |
download | libnitrokey-f4d89f0893030f0b8827f3be0d07ebd4de89b315.tar.gz libnitrokey-f4d89f0893030f0b8827f3be0d07ebd4de89b315.tar.bz2 |
added long sleep for behavior check, read_callback is running, fixed device status and command status messages in logs
Diffstat (limited to 'device.cc')
-rw-r--r-- | device.cc | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -48,6 +48,7 @@ CommError Device::recv(void *packet) { int retry_count = 0; Log::instance()(__PRETTY_FUNCTION__, Loglevel::DEBUG_L2); + std::this_thread::sleep_for( std::chrono::milliseconds(5000) ); if (mp_devhandle == NULL) throw std::runtime_error("Attempted HID receive on an invalid descriptor."); |