From d6256069fdc55a998321d8603b5a317f9ea58d42 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Sat, 20 Feb 2016 15:41:37 +0100 Subject: removing hid_init() calls as they should have be called automatically (as long as app is not multithreaded, according to specification) --- device.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'device.cc') diff --git a/device.cc b/device.cc index 3aca2b2..55ea943 100644 --- a/device.cc +++ b/device.cc @@ -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; } -- cgit v1.2.1