mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
drivers/usbhost/usbhost_cdcacm.c: fix warning
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user