cdcacm: align cdcacm_epconfigure function parameters

Signed-off-by: yangsong8 <yangsong8@xiaomi.com>
This commit is contained in:
yangsong8 2024-08-28 11:11:48 +08:00 committed by Xiang Xiao
parent 4c35bde3ba
commit a2e7265adb
1 changed files with 3 additions and 3 deletions

View File

@ -976,7 +976,7 @@ static int cdcacm_setconfig(FAR struct cdcacm_dev_s *priv, uint8_t config)
/* Configure the IN interrupt endpoint */
ret = cdcacm_epconfigure(priv->epintin, CDCACM_EPINTIN, false,
&priv->devinfo, priv->usbdev->speed);
&priv->devinfo, priv->usbdev->speed);
if (ret < 0)
{
@ -989,7 +989,7 @@ static int cdcacm_setconfig(FAR struct cdcacm_dev_s *priv, uint8_t config)
/* Configure the IN bulk endpoint */
ret = cdcacm_epconfigure(priv->epbulkin, CDCACM_EPBULKIN, false,
&priv->devinfo, priv->usbdev->speed);
&priv->devinfo, priv->usbdev->speed);
if (ret < 0)
{
@ -1002,7 +1002,7 @@ static int cdcacm_setconfig(FAR struct cdcacm_dev_s *priv, uint8_t config)
/* Configure the OUT bulk endpoint */
ret = cdcacm_epconfigure(priv->epbulkout, CDCACM_EPBULKOUT, true,
&priv->devinfo, priv->usbdev->speed);
&priv->devinfo, priv->usbdev->speed);
if (ret < 0)
{