Cosmetic spacing and used UNUSEd macro
This commit is contained in:
parent
da78c18397
commit
8008875f35
@ -236,8 +236,7 @@ int cdcacm_copy_epdesc(enum cdcacm_epdesc_e epid,
|
|||||||
bool hispeed)
|
bool hispeed)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_USBDEV_DUALSPEED
|
#ifndef CONFIG_USBDEV_DUALSPEED
|
||||||
/* unused */
|
UNUSED(hispeed);
|
||||||
(void)hispeed;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch (epid)
|
switch (epid)
|
||||||
|
@ -230,9 +230,7 @@ int usbmsc_copy_epdesc(enum usbmsc_epdesc_e epid,
|
|||||||
bool hispeed)
|
bool hispeed)
|
||||||
{
|
{
|
||||||
#ifndef CONFIG_USBDEV_DUALSPEED
|
#ifndef CONFIG_USBDEV_DUALSPEED
|
||||||
/* unused */
|
UNUSED(hispeed);
|
||||||
|
|
||||||
(void)hispeed;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
switch (epid)
|
switch (epid)
|
||||||
|
Loading…
Reference in New Issue
Block a user