From e9df746687e70ab5f56880f24c089fe7bfe12d88 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 11 Dec 2023 11:35:54 -0500 Subject: [PATCH 1/2] remove print statements --- DeviceAdapters/HIDManager/HIDManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DeviceAdapters/HIDManager/HIDManager.cpp b/DeviceAdapters/HIDManager/HIDManager.cpp index 297cddddc..481916433 100755 --- a/DeviceAdapters/HIDManager/HIDManager.cpp +++ b/DeviceAdapters/HIDManager/HIDManager.cpp @@ -603,7 +603,7 @@ void HIDDeviceLister::ListHIDDevices(std::vector &availableDevices) // lists all HID Devices on this system that we know about void HIDDeviceLister::FindHIDDevices(std::vector &availableDevices) { - printf("Discovering HID Devices......\n"); + // printf("Discovering HID Devices......\n"); struct hid_device_info *devs, *curDev; @@ -613,14 +613,14 @@ void HIDDeviceLister::FindHIDDevices(std::vector &availableDevices) while (curDev) { - printf ("HID Device pid: %04hx vid: %04hx\n", curDev->product_id, curDev->product_id); + // printf ("HID Device pid: %04hx vid: %04hx\n", curDev->product_id, curDev->product_id); for (int i=0; ivendor_id == g_knownDevices[i].idVendor) && (curDev->product_id == g_knownDevices[i].idProduct) ) { availableDevices.push_back(g_knownDevices[i].name); - printf ("HID Device found: %s\n", g_knownDevices[i].name.c_str()); + // printf ("HID Device found: %s\n", g_knownDevices[i].name.c_str()); } } curDev = curDev->next; From 67f5585983578e9d7fdc0cd96fc9898692d1fc79 Mon Sep 17 00:00:00 2001 From: Talley Lambert Date: Mon, 11 Dec 2023 11:36:16 -0500 Subject: [PATCH 2/2] add comment --- DeviceAdapters/HIDManager/HIDManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/DeviceAdapters/HIDManager/HIDManager.cpp b/DeviceAdapters/HIDManager/HIDManager.cpp index 481916433..f2fb48802 100755 --- a/DeviceAdapters/HIDManager/HIDManager.cpp +++ b/DeviceAdapters/HIDManager/HIDManager.cpp @@ -603,6 +603,7 @@ void HIDDeviceLister::ListHIDDevices(std::vector &availableDevices) // lists all HID Devices on this system that we know about void HIDDeviceLister::FindHIDDevices(std::vector &availableDevices) { + // see https://github.com/micro-manager/mmCoreAndDevices/issues/402 // printf("Discovering HID Devices......\n"); struct hid_device_info *devs, *curDev;