drivers/usbhost/usbhost_cdcacm.c: fix warning
This commit is contained in:
parent
25bce71b14
commit
b7341975ab
|
@ -2141,7 +2141,7 @@ static int usbhost_disconnected(FAR struct usbhost_class_s *usbclass)
|
|||
|
||||
if (priv->intin)
|
||||
{
|
||||
int ret = DRVR_CANCEL(hport->drvr, priv->intin);
|
||||
ret = DRVR_CANCEL(hport->drvr, priv->intin);
|
||||
if (ret < 0)
|
||||
{
|
||||
uerr("ERROR: Interrupt IN DRVR_CANCEL failed: %d\n", ret);
|
||||
|
|
Loading…
Reference in New Issue