diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-10 18:54:58 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-03-10 18:54:58 +0000 |
commit | 3d50b5c9e0eee6ca4eb2e9c1114fcd8ff109e984 (patch) | |
tree | 0090c63c20385e38b366710798e72769f21775f6 /testhal | |
parent | 310fd0745ef78c90279dcb0004971f26c01bae79 (diff) | |
download | ChibiOS-3d50b5c9e0eee6ca4eb2e9c1114fcd8ff109e984.tar.gz ChibiOS-3d50b5c9e0eee6ca4eb2e9c1114fcd8ff109e984.tar.bz2 ChibiOS-3d50b5c9e0eee6ca4eb2e9c1114fcd8ff109e984.zip |
USB improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2815 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/USB_CDC/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/testhal/STM32/USB_CDC/main.c b/testhal/STM32/USB_CDC/main.c index e18275808..6f4416364 100644 --- a/testhal/STM32/USB_CDC/main.c +++ b/testhal/STM32/USB_CDC/main.c @@ -224,6 +224,7 @@ static const USBDescriptor *get_descriptor(USBDriver *usbp, */
static const USBEndpointConfig ep1config = {
USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
+ NULL,
sduDataTransmitted,
NULL,
0x0040,
@@ -237,6 +238,7 @@ static const USBEndpointConfig ep1config = { */
static const USBEndpointConfig ep2config = {
USB_EP_MODE_TYPE_INTR | USB_EP_MODE_PACKET,
+ NULL,
sduInterruptTransmitted,
NULL,
0x0010,
@@ -251,6 +253,7 @@ static const USBEndpointConfig ep2config = { static const USBEndpointConfig ep3config = {
USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
NULL,
+ NULL,
sduDataReceived,
0x0000,
0x0040,
|