aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2008-05-03 13:59:34 +0000
committerChristian Starkjohann <cs+github@obdev.at>2008-05-03 13:59:34 +0000
commit997718d0a64b84dc848d9be89b015112996bc316 (patch)
treed9440d3ea328c642556d6e9fb37231fa2d666001 /tests
parentee044589fd907eac9f40e95bdbf510c2895440fa (diff)
downloadv-usb-997718d0a64b84dc848d9be89b015112996bc316.tar.gz
v-usb-997718d0a64b84dc848d9be89b015112996bc316.tar.bz2
v-usb-997718d0a64b84dc848d9be89b015112996bc316.zip
- added (commented) option for long transfers
Diffstat (limited to 'tests')
-rw-r--r--tests/usbconfig.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/usbconfig.h b/tests/usbconfig.h
index 3b930da..8955d14 100644
--- a/tests/usbconfig.h
+++ b/tests/usbconfig.h
@@ -131,6 +131,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.