mirror of
https://github.com/apache/nuttx.git
synced 2026-08-11 15:35:10 +00:00
Correct a crash when keyboard removed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3266 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f8ba6a446f
commit
911c2f74b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1003,7 +1003,7 @@ static inline int lpc17_reminted(struct lpc17_usbhost_s *priv,
|
|||
* entries, OUT EDs get the odd entries.
|
||||
*/
|
||||
|
||||
if ((ed->hw.ctrl && ED_CONTROL_D_MASK) == ED_CONTROL_D_IN)
|
||||
if ((ed->hw.ctrl & ED_CONTROL_D_MASK) == ED_CONTROL_D_IN)
|
||||
{
|
||||
offset = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue