Skip to content

Commit

Permalink
[BACKPORT] drivers/usbhost/usbhost_cdcacm.c: fix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
raiden00pl authored and davids5 committed May 12, 2023
1 parent a0faf31 commit 50d8193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usbhost/usbhost_cdcacm.c
Original file line number Diff line number Diff line change
Expand Up @@ -2208,7 +2208,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);
Expand Down

0 comments on commit 50d8193

Please sign in to comment.