Fix EP configure switch value

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2213 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2009-11-02 20:49:23 +00:00
parent cbe4bf2e2d
commit 84deab6932
1 changed files with 1 additions and 1 deletions

View File

@ -2598,7 +2598,7 @@ static int stm32_epconfigure(struct usbdev_ep_s *ep,
/* Set the requested type */
switch (desc->type)
switch (desc->attr & USB_EP_ATTR_XFERTYPE_MASK)
{
case USB_EP_ATTR_XFER_INT: /* Interrupt endpoint */
setting = USB_EPR_EPTYPE_INTERRUPT;