summaryrefslogtreecommitdiff
path: root/spectro/hidio.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2017-11-25 10:16:00 +0100
commitf6b8e0eae4374f339487a33e3e4fe5462d5816e1 (patch)
tree5f5f764fd6cda404b2ad6e85762c03fce3a335db /spectro/hidio.c
parent615ab5513e79c4abc5bbe5c993587785b6a1738b (diff)
New upstream version 2.0.0upstream/2.0.0
Diffstat (limited to 'spectro/hidio.c')
-rwxr-xr-x[-rw-r--r--]spectro/hidio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/spectro/hidio.c b/spectro/hidio.c
index 2d8649f..e78fb98 100644..100755
--- a/spectro/hidio.c
+++ b/spectro/hidio.c
@@ -73,6 +73,7 @@
#include "sa_config.h"
#endif
#include "numsup.h"
+#include "cgats.h"
#include "xspect.h"
#include "insttypes.h"
#include "conv.h"
@@ -419,6 +420,8 @@ int hid_get_paths(icompaths *p) {
/* Add the path to the list */
p->add_hid(p, pname, vid, pid, 0, hidd, itype);
+ } else {
+ a1logd(p->log, 4, "skipping HID device VID 0x%x PID 0x%x lid 0x%x that we don't want\n",vid, pid, lid);
}
if (ioob != 0) /* If we haven't kept it */
IOObjectRelease(ioob); /* Release found object */