aboutsummaryrefslogtreecommitdiffstats
path: root/tests/usbconfig.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/usbconfig.h')
-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.