mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 01:13:29 +00:00
Fix a compile error that crept into the LPC17xx USB host driver
This commit is contained in:
parent
c95cd438ef
commit
9d8ecdbefd
2 changed files with 4 additions and 1 deletions
|
|
@ -6545,4 +6545,7 @@
|
|||
* Documentation/NuttXCCodingStandard.html: Add a coding standards
|
||||
document. Very boring stuff (2014-2-6).
|
||||
* Several changes to restore the native Windows build (2014-2-7).
|
||||
* arch/arm/src/lpc17xx/lpc17_usbhost.c: Fix an compilation error
|
||||
that crept intot he LPC17xx USB host driver. What happened here?
|
||||
(2014-2-8).
|
||||
|
||||
|
|
|
|||
|
|
@ -1304,7 +1304,7 @@ static int lpc17_ctrltd(struct lpc17_usbhost_s *priv, uint32_t dirpid,
|
|||
else
|
||||
{
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue