From 9056dd13af94c94cac376e061d9a5077ca94fc28 Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Sat, 3 May 2008 13:31:29 +0000 Subject: - added new config option for long transfers --- usbdrv/usbconfig-prototype.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'usbdrv') 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. -- cgit v1.2.3