drivers/usbhost/usbhost_skeleton: fix typo
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user