aboutsummaryrefslogtreecommitdiff
path: root/graphics/epsonscan2/files/patch-src_ES2Command_Src_Interface_usb_usbInterfaceImpl.cpp
blob: acaeeb6465e7b7a07b06558c4d912223327ad02a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- src/ES2Command/Src/Interface/usb/usbInterfaceImpl.cpp.orig	2024-09-12 07:10:32 UTC
+++ src/ES2Command/Src/Interface/usb/usbInterfaceImpl.cpp
@@ -34,7 +34,8 @@ USBInterfaceImpl::USBInterfaceImpl()
             sm_ctx = nullptr;
             throw std::runtime_error("unable to initialise USB support");
         }
-        libusb_set_debug(sm_ctx, 3);
+        // XXX this cannot be left enabled as the debug messages go to stdout which is where the scan image data goes
+        // libusb_set_debug(sm_ctx, 3);
     }
     ++sm_nConnectionCount;
 }