mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +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)
|
if (priv->intin)
|
||||||
{
|
{
|
||||||
int ret = DRVR_CANCEL(hport->drvr, priv->intin);
|
ret = DRVR_CANCEL(hport->drvr, priv->intin);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
uerr("ERROR: Interrupt IN DRVR_CANCEL failed: %d\n", ret);
|
uerr("ERROR: Interrupt IN DRVR_CANCEL failed: %d\n", ret);
|
||||||
|
|||||||
Reference in New Issue
Block a user