mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Various cosmetic changes.
This commit is contained in:
@@ -143,13 +143,13 @@
|
||||
/* These string IDs only exist if a user-defined string is provided */
|
||||
|
||||
#ifdef CONFIG_CDCACM_NOTIFSTR
|
||||
# define CDCACM_NOTIFSTRID (CDCACM_LASTBASESTRID+1)
|
||||
# define CDCACM_NOTIFSTRID (CDCACM_LASTBASESTRID + 1)
|
||||
#else
|
||||
# define CDCACM_NOTIFSTRID CDCACM_LASTBASESTRID
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_CDCACM_DATAIFSTR
|
||||
# define CDCACM_DATAIFSTRID (CDCACM_NOTIFSTRID+1)
|
||||
# define CDCACM_DATAIFSTRID (CDCACM_NOTIFSTRID + 1)
|
||||
#else
|
||||
# define CDCACM_DATAIFSTRID CDCACM_NOTIFSTRID
|
||||
#endif
|
||||
|
||||
@@ -292,7 +292,7 @@
|
||||
# undef CONFIG_USBMSC_STRBASE
|
||||
# define CONFIG_USBMSC_STRBASE (0)
|
||||
#else
|
||||
# define USBMSC_INTERFACESTRID (CONFIG_USBMSC_STRBASE+1)
|
||||
# define USBMSC_INTERFACESTRID (CONFIG_USBMSC_STRBASE + 1)
|
||||
#endif
|
||||
|
||||
#define USBMSC_LASTSTRID USBMSC_INTERFACESTRID
|
||||
@@ -300,7 +300,7 @@
|
||||
|
||||
/* Configuration Descriptor */
|
||||
|
||||
#define USBMSC_INTERFACEID (CONFIG_USBMSC_IFNOBASE+0)
|
||||
#define USBMSC_INTERFACEID (CONFIG_USBMSC_IFNOBASE + 0)
|
||||
#define USBMSC_ALTINTERFACEID (0)
|
||||
|
||||
#define USBMSC_CONFIGIDNONE (0) /* Config ID means to return to address mode */
|
||||
|
||||
Reference in New Issue
Block a user