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:
parent
ae1fd83a46
commit
7990f90915
@ -68,8 +68,6 @@
|
||||
|
||||
/* Register Addresses *******************************************************/
|
||||
|
||||
# define 0x4000c000 /* FlexBus */
|
||||
|
||||
#define KINETIS_FB_CS_BASE(n) (KINETIS_FLEXBUSC_BASE+KINETIS_FB_CS_OFFSET(n))
|
||||
#define KINETIS_FB_CSAR(n) (KINETIS_FB_CS_BASE(n)+KINETIS_FB_CSAR_OFFSET)
|
||||
#define KINETIS_FB_CSMR(n) (KINETIS_FB_CS_BASE(n)+KINETIS_FB_CSMR_OFFSET)
|
||||
|
@ -534,13 +534,11 @@ static const struct hciuart_config_s g_hciusart3_config =
|
||||
#ifdef CONFIG_STM32_USART6_HCIUART
|
||||
/* I/O buffers */
|
||||
|
||||
#ifdef CONFIG_STM32_USART6_HCIUART
|
||||
static uint8_t g_usart6_rxbuffer[CONFIG_STM32_HCIUART6_RXBUFSIZE];
|
||||
static uint8_t g_usart6_txbuffer[CONFIG_STM32_HCIUART6_TXBUFSIZE];
|
||||
# ifdef CONFIG_STM32_HCIUART6_RXDMA
|
||||
static uint8_t g_usart6_rxdmabuffer[RXDMA_BUFFER_SIZE];
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/* HCI USART6 variable state information */
|
||||
|
||||
|
@ -409,6 +409,5 @@
|
||||
# define USART_PRESC_DIV64 (9 << USART_PRESC_SHIFT) /* Input clock divided by 64 */
|
||||
# define USART_PRESC_DIV128 (10 << USART_PRESC_SHIFT) /* Input clock divided by 128 */
|
||||
# define USART_PRESC_DIV256 (11 << USART_PRESC_SHIFT) /* Input clock divided by 256 */
|
||||
|
||||
#endif /* CONFIG_STM32H7_STM32H7X3XX || CONFIG_STM32H7_STM32H7X7XX || CONFIG_STM32H7_STM32H7B3XX */
|
||||
#endif /* __ARCH_ARM_SRC_STM32H7_HARDWARE_STM32H7X3XX_UART_H */
|
||||
|
@ -48,7 +48,8 @@
|
||||
/* semcount, flags, waitlist, holder[2] */
|
||||
|
||||
# define NXSEM_INITIALIZER(c, f) \
|
||||
{(c), (f), SEM_WAITLIST_INITIALIZER, {SEMHOLDER_INITIALIZER, SEMHOLDER_INITIALIZER}}
|
||||
{(c), (f), SEM_WAITLIST_INITIALIZER, \
|
||||
{SEMHOLDER_INITIALIZER, SEMHOLDER_INITIALIZER}}
|
||||
# endif
|
||||
#else /* CONFIG_PRIORITY_INHERITANCE */
|
||||
/* semcount, flags, waitlist */
|
||||
|
@ -132,7 +132,8 @@ typedef struct sem_s sem_t;
|
||||
/* semcount, flags, waitlist, holder[2] */
|
||||
|
||||
# define SEM_INITIALIZER(c) \
|
||||
{(c), 0, SEM_WAITLIST_INITIALIZER, {SEMHOLDER_INITIALIZER, SEMHOLDER_INITIALIZER}}
|
||||
{(c), 0, SEM_WAITLIST_INITIALIZER, \
|
||||
{SEMHOLDER_INITIALIZER, SEMHOLDER_INITIALIZER}}
|
||||
# endif
|
||||
#else
|
||||
/* semcount, flags, waitlist */
|
||||
|
Loading…
Reference in New Issue
Block a user