mirror of
https://github.com/apache/nuttx.git
synced 2026-05-30 13:27:01 +08:00
Indent the define statement by two spaces
follow the code style convention Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
ae1fd83a46
commit
7990f90915
@@ -77,8 +77,8 @@ struct bm3803_lowerhalf_s
|
||||
|
||||
/* Register operations ******************************************************/
|
||||
|
||||
# define bm3803_getreg(addr) getreg32(addr)
|
||||
# define bm3803_putreg(val,addr) putreg32(val,addr)
|
||||
# define bm3803_getreg(addr) getreg32(addr)
|
||||
# define bm3803_putreg(val,addr) putreg32(val,addr)
|
||||
|
||||
static inline void bm3803_setreload(struct bm3803_lowerhalf_s *priv);
|
||||
|
||||
|
||||
@@ -77,7 +77,7 @@
|
||||
/* Check if an interrupt stack size is configured */
|
||||
|
||||
#ifndef CONFIG_ARCH_INTERRUPTSTACK
|
||||
# define CONFIG_ARCH_INTERRUPTSTACK 0
|
||||
# define CONFIG_ARCH_INTERRUPTSTACK 0
|
||||
#endif
|
||||
|
||||
#define INTSTACK_SIZE (CONFIG_ARCH_INTERRUPTSTACK & ~STACK_ALIGN_MASK)
|
||||
@@ -222,7 +222,7 @@ void weak_function sparc_dma_initialize(void);
|
||||
#if CONFIG_MM_REGIONS > 1
|
||||
void sparc_addregion(void);
|
||||
#else
|
||||
# define sparc_addregion()
|
||||
# define sparc_addregion()
|
||||
#endif
|
||||
|
||||
/* Serial output */
|
||||
@@ -236,7 +236,7 @@ void sparc_serialinit(void);
|
||||
#if defined(CONFIG_NET) && !defined(CONFIG_NETDEV_LATEINIT)
|
||||
void sparc_netinitialize(void);
|
||||
#else
|
||||
# define sparc_netinitialize()
|
||||
# define sparc_netinitialize()
|
||||
#endif
|
||||
|
||||
/* USB */
|
||||
@@ -245,8 +245,8 @@ void sparc_netinitialize(void);
|
||||
void sparc_usbinitialize(void);
|
||||
void sparc_usbuninitialize(void);
|
||||
#else
|
||||
# define sparc_usbinitialize()
|
||||
# define sparc_usbuninitialize()
|
||||
# define sparc_usbinitialize()
|
||||
# define sparc_usbuninitialize()
|
||||
#endif
|
||||
|
||||
/* Debug ********************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user