Refine the preprocessor conditional guard style (#190)

This commit is contained in:
Xiang Xiao
2020-01-31 10:07:39 -08:00
committed by GitHub
parent 68951e8d72
commit 80277d1630
577 changed files with 904 additions and 904 deletions
+1 -1
View File
@@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_USBDEV_CDCACM_H
#define __DRIVERS_USBDEV_CDCACM_H 1
#define __DRIVERS_USBDEV_CDCACM_H
/****************************************************************************
* Included Files
+1 -1
View File
@@ -34,7 +34,7 @@
****************************************************************************/
#ifndef __DRIVERS_USBDEV_COMPOSITE_H
#define __DRIVERS_USBDEV_COMPOSITE_H 1
#define __DRIVERS_USBDEV_COMPOSITE_H
/****************************************************************************
* Included Files
+1 -1
View File
@@ -947,7 +947,7 @@ static int16_t usbclass_mkcfgdesc(uint8_t *buf)
memcpy(cfgdesc, &g_cfgdesc, USB_SIZEOF_CFGDESC);
buf += USB_SIZEOF_CFGDESC;
/* Copy the canned interface descriptor */
/* Copy the canned interface descriptor */
memcpy(buf, &g_ifdesc, USB_SIZEOF_IFDESC);
buf += USB_SIZEOF_IFDESC;
+1 -1
View File
@@ -224,7 +224,7 @@
# define USBMSC_SELFPOWERED (0)
#endif
#ifdef CONFIG_USBDEV_REMOTEWAKEUP
#ifdef CONFIG_USBDEV_REMOTEWAKEUP
# define USBMSC_REMOTEWAKEUP USB_CONFIG_ATTR_WAKEUP
#else
# define USBMSC_REMOTEWAKEUP (0)