9
0
Fork 0

Fix EP configure switch value

git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@2213 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
patacongo 2009-11-02 20:49:23 +00:00
parent 130a18c0ea
commit 8ecb2b18d0
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;