USB device: Fix some coding standard issues. Other purely cosmetic changes.
This commit is contained in:
parent
eff9ba514c
commit
940b78cac2
@ -95,7 +95,6 @@ static const struct usb_devdesc_s g_devdesc =
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(CONFIG_CDCACM_COMPOSITE) && defined(CONFIG_USBDEV_DUALSPEED)
|
||||
static const struct usb_qualdesc_s g_qualdesc =
|
||||
{
|
||||
@ -114,10 +113,6 @@ static const struct usb_qualdesc_s g_qualdesc =
|
||||
};
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
* Private Functions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Public Functions
|
||||
****************************************************************************/
|
||||
@ -368,7 +363,7 @@ int16_t cdcacm_mkcfgdesc(FAR uint8_t *buf,
|
||||
}
|
||||
#endif
|
||||
|
||||
/* fill in all descriptors directly to the buf */
|
||||
/* Fill in all descriptors directly to the buf */
|
||||
|
||||
/* Configuration Descriptor. If the serial device is used in as part
|
||||
* or a composite device, then the configuration descriptor is
|
||||
@ -479,7 +474,6 @@ int16_t cdcacm_mkcfgdesc(FAR uint8_t *buf,
|
||||
|
||||
length += sizeof(struct cdc_hdr_funcdesc_s);
|
||||
|
||||
|
||||
/* ACM functional descriptor */
|
||||
|
||||
if (buf != NULL)
|
||||
@ -604,5 +598,3 @@ FAR const struct usb_qualdesc_s *cdcacm_getqualdesc(void)
|
||||
return &g_qualdesc;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
@ -53,18 +53,6 @@
|
||||
|
||||
#ifdef CONFIG_USBDEV_COMPOSITE
|
||||
|
||||
/****************************************************************************
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Types
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Private Data
|
||||
****************************************************************************/
|
||||
|
Loading…
x
Reference in New Issue
Block a user