drivers/usbhost/usbhost_skeleton: fix typo

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2022-11-03 18:16:29 +08:00 committed by Petro Karashchenko
parent 6950ea4646
commit 25e78c5330

View File

@ -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);