diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2016-07-23 13:45:53 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2016-08-01 13:54:56 +0200 |
commit | 6eec45d9f1dfdfc14d9f5b3ef9f6de03b4277b85 (patch) | |
tree | 26c9cf1a797cda53a8bffe05a1d5fcda473cb742 /device.cc | |
parent | 1fa8a10d3baeebbec58f09203482fb0e8b84db15 (diff) | |
download | libnitrokey-6eec45d9f1dfdfc14d9f5b3ef9f6de03b4277b85.tar.gz libnitrokey-6eec45d9f1dfdfc14d9f5b3ef9f6de03b4277b85.tar.bz2 |
Allow setting last command status on device
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'device.cc')
-rw-r--r-- | device.cc | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,7 +15,8 @@ Device::Device() m_pid(0), m_retry_count(40), m_retry_timeout(50), - mp_devhandle(NULL) {} + mp_devhandle(NULL), + last_command_status(0){} bool Device::disconnect() { Log::instance()(__PRETTY_FUNCTION__, Loglevel::DEBUG_L2); |