diff options
author | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-20 15:41:37 +0100 |
---|---|---|
committer | Szczepan Zalega <szczepan.zalega@gmail.com> | 2016-02-20 15:41:37 +0100 |
commit | d6256069fdc55a998321d8603b5a317f9ea58d42 (patch) | |
tree | cfc3ef324ed8093b64b78e6dca0fea197fda8a61 /device.cc | |
parent | 5ed712b2f0471d4f1210fc3be6080aeaaf4b126a (diff) | |
download | libnitrokey-d6256069fdc55a998321d8603b5a317f9ea58d42.tar.gz libnitrokey-d6256069fdc55a998321d8603b5a317f9ea58d42.tar.bz2 |
removing hid_init() calls as they should have be called automatically (as long as app is not multithreaded, according to specification)
Diffstat (limited to 'device.cc')
-rw-r--r-- | device.cc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -26,9 +26,9 @@ bool Device::disconnect() { bool Device::connect() { Log::instance()(__PRETTY_FUNCTION__, Loglevel::DEBUG_L2); - hid_init(); + //hid_init(); mp_devhandle = hid_open(m_vid, m_pid, NULL); - hid_init(); + //hid_init(); return mp_devhandle != NULL; } |