summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--device.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/device.cc b/device.cc
index facdc3e..dcba735 100644
--- a/device.cc
+++ b/device.cc
@@ -41,7 +41,8 @@ bool Device::disconnect() {
hid_close(mp_devhandle);
mp_devhandle = nullptr;
- hid_exit();
+ //FIXME hidexit should not be called if some devices are still active - use static active devices counter
+ // hid_exit();
return true;
}
bool Device::connect() {