diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-10 16:31:03 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-06-10 16:31:03 +0000 |
commit | c762926b68f6a6c7f1e71b8acf9b1dd29d6e481f (patch) | |
tree | 595000cdeb9dd88826192dcf82d47381de9cb03e /testhal/STM32F4xx | |
parent | 1d023ea90143296fe13176df8be2aa91d88e702d (diff) | |
download | ChibiOS-c762926b68f6a6c7f1e71b8acf9b1dd29d6e481f.tar.gz ChibiOS-c762926b68f6a6c7f1e71b8acf9b1dd29d6e481f.tar.bz2 ChibiOS-c762926b68f6a6c7f1e71b8acf9b1dd29d6e481f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4265 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx')
-rw-r--r-- | testhal/STM32F4xx/USB_CDC/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32F4xx/USB_CDC/main.c b/testhal/STM32F4xx/USB_CDC/main.c index aa3e20020..e36ce3dc9 100644 --- a/testhal/STM32F4xx/USB_CDC/main.c +++ b/testhal/STM32F4xx/USB_CDC/main.c @@ -229,7 +229,7 @@ static const USBDescriptor *get_descriptor(USBDriver *usbp, * @brief EP1 initialization structure (IN only).
*/
static const USBEndpointConfig ep1config = {
- USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
+ USB_EP_MODE_TYPE_BULK,
NULL,
sduDataTransmitted,
NULL,
@@ -244,7 +244,7 @@ static const USBEndpointConfig ep1config = { * @brief EP2 initialization structure (IN only).
*/
static const USBEndpointConfig ep2config = {
- USB_EP_MODE_TYPE_INTR | USB_EP_MODE_PACKET,
+ USB_EP_MODE_TYPE_INTR,
NULL,
sduInterruptTransmitted,
NULL,
@@ -259,7 +259,7 @@ static const USBEndpointConfig ep2config = { * @brief EP3 initialization structure (OUT only).
*/
static const USBEndpointConfig ep3config = {
- USB_EP_MODE_TYPE_BULK | USB_EP_MODE_PACKET,
+ USB_EP_MODE_TYPE_BULK,
NULL,
NULL,
sduDataReceived,
|