drivers/usbhost/usbhost_cdcacm.c: fix warning

This commit is contained in:
raiden00pl 2023-05-09 11:24:24 +02:00 committed by Xiang Xiao
parent 25bce71b14
commit b7341975ab

View File

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