]> git.zerfleddert.de Git - usb-driver/blobdiff - Makefile
release usb-device on close
[usb-driver] / Makefile
index 8a21424b618591ebc47bc0b3e224556f865a1633..de3216dfdcc727bea5695f9c0ca279a0f1c18580 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
 #Add -DFORCE_PC3_IDENT to CFLAGS to force the identification of
 #a Parallel Cable III
-CFLAGS=-Wall -fPIC -DUSB_DRIVER_VERSION="\"$(shell stat -c '%y' usb-driver.c |cut -d\. -f1)\"" #-DFORCE_PC3_IDENT
+#Add -DNO_USB_RESET to disable the hard reset of the cable when
+#opening the device
+CFLAGS=-Wall -fPIC -DUSB_DRIVER_VERSION="\"$(shell stat -c '%y' usb-driver.c |cut -d\. -f1)\"" #-DFORCE_PC3_IDENT -DNO_USB_RESET
 
 LIBS=-ldl -lusb -lpthread
 
Impressum, Datenschutz