Fix one warning. There are a couple of others that look like real problems

This commit is contained in:
Gregory Nutt 2014-11-28 11:49:24 -06:00
parent c5cb99d04e
commit 997fa4b749
1 changed files with 3 additions and 2 deletions

View File

@ -1369,6 +1369,7 @@ static int stm32_wrrequest(struct stm32_usbdev_s *priv, struct stm32_ep_s *prive
epno = USB_EPNO(privep->ep.eplog);
ullvdbg("epno=%d req=%p: len=%d xfrd=%d nullpkt=%d\n",
epno, privreq, privreq->req.len, privreq->req.xfrd, privep->txnullpkt);
UNUSED(epno);
/* Get the number of bytes left to be sent in the packet */
@ -1749,7 +1750,7 @@ static void stm32_ep0setup(struct stm32_usbdev_s *priv)
ep0->stalled = 0;
ep0->txbusy = 0;
/* Check to see if called from the DATA phase of a SETUP Trasfer */
/* Check to see if called from the DATA phase of a SETUP Transfer */
if (priv->ep0state != EP0STATE_SETUP_READY)
{