aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbconfig-prototype.h
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-05-03 13:31:29 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-05-03 13:31:29 +0000
commit9056dd13af94c94cac376e061d9a5077ca94fc28 (patch)
treec4492a540ffbd774fdb430e47bb41504051afc24 /usbdrv/usbconfig-prototype.h
parent0e34eddba4dd892d6919e0c54e2d03647d2b0bae (diff)
downloadv-usb-9056dd13af94c94cac376e061d9a5077ca94fc28.tar.gz
v-usb-9056dd13af94c94cac376e061d9a5077ca94fc28.tar.bz2
v-usb-9056dd13af94c94cac376e061d9a5077ca94fc28.zip
- added new config option for long transfers
Diffstat (limited to 'usbdrv/usbconfig-prototype.h')
-rw-r--r--usbdrv/usbconfig-prototype.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/usbdrv/usbconfig-prototype.h b/usbdrv/usbconfig-prototype.h
index 03470f2..435c7bf 100644
--- a/usbdrv/usbconfig-prototype.h
+++ b/usbdrv/usbconfig-prototype.h
@@ -130,6 +130,11 @@ section at the end of this file).
* of the macros usbDisableAllRequests() and usbEnableAllRequests() in
* usbdrv.h.
*/
+#define USB_CFG_LONG_TRANSFERS 0
+/* Define this to 1 if you want to send/receive blocks of more than 254 bytes
+ * in a single control-in or control-out transfer. Note that the capability
+ * for long transfers increases the driver size.
+ */
/* #define USB_RX_USER_HOOK(data, len) if(usbRxToken == (uchar)USBPID_SETUP) blinkLED(); */
/* This macro is a hook if you want to do unconventional things. If it is
* defined, it's inserted at the beginning of received message processing.