mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
drivers/usbhost/usbhost_skeleton: fix typo
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
6950ea4646
commit
25e78c5330
@@ -635,7 +635,7 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
|
|||||||
ret = nxmutex_lock(&priv->lock);
|
ret = nxmutex_lock(&priv->lock);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
return ert;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
DEBUGASSERT(priv->crefs >= 2);
|
DEBUGASSERT(priv->crefs >= 2);
|
||||||
|
|||||||
Reference in New Issue
Block a user