mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +08:00
Fix a compile error that crept into the LPC17xx USB host driver
This commit is contained in:
@@ -1304,7 +1304,7 @@ static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
uvdbg("Bad TD completion status: %d\n", EDCTRL->tdstatus);
|
uvdbg("Bad TD completion status: %d\n", EDCTRL->tdstatus);
|
||||||
ret = ed->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
|
ret = EDCTRL->tdstatus == TD_CC_STALL ? -EPERM : -EIO;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user