arch/arm/src/lpc17xx/lpc17_usbdev: Fix typo introduced with last change

This commit is contained in:
Michael Jung 2018-05-21 06:13:30 -06:00 committed by Gregory Nutt
parent fe44948ea4
commit 5e479f31ba

View File

@ -2863,7 +2863,7 @@ static int lpc17_epsubmit(FAR struct usbdev_ep_s *ep, FAR struct usbdev_req_s *r
/* This there a incoming data pending the availability of a request? */
if (priv->rxpendinig > 0)
if (priv->rxpending > 0)
{
ret = lpc17_rdrequest(privep);
priv->rxpending--;