diff --git a/examples/nrf24l01_btle/nrf24l01_btle.h b/examples/nrf24l01_btle/nrf24l01_btle.h index 04c823057..10abe165d 100644 --- a/examples/nrf24l01_btle/nrf24l01_btle.h +++ b/examples/nrf24l01_btle/nrf24l01_btle.h @@ -37,7 +37,7 @@ /* Service UUIDs used on the nRF8001 and nRF51822 platforms */ -#define NRF_TEMPERATURE_SERVICE_UUID 0x1809 +#define NRF_TEMPERATURE_SERVICE_UUID 0x1809 #define NRF_ENVIRONMENTAL_SERVICE_UUID 0x181A /**************************************************************************** @@ -56,7 +56,7 @@ struct nrf_service_data struct btle_adv_pdu { - /* PDU type, most of it 0x42 */ + /* PDU type, most of it 0x42 */ uint8_t pdu_type; @@ -96,4 +96,4 @@ int nrf24_open(void); int nrf24_send(int wl_fd, uint8_t * buf, uint8_t len); -#endif /* __APPS_EXAMPLES_NRF24L01_BTLE_NRF24L01_BTLE_H */ +#endif /* __APPS_EXAMPLES_NRF24L01_BTLE_NRF24L01_BTLE_H */ diff --git a/include/audioutils/mml_parser.h b/include/audioutils/mml_parser.h index e2018051f..2fd8912b2 100644 --- a/include/audioutils/mml_parser.h +++ b/include/audioutils/mml_parser.h @@ -99,4 +99,4 @@ int parse_mml(FAR struct music_macro_lang_s *mml, } #endif -#endif /* __APPS_INCLUDE_AUDIOUTILS_MML_PARSER_MML_PARSER_H */ +#endif /* __APPS_INCLUDE_AUDIOUTILS_MML_PARSER_MML_PARSER_H */ diff --git a/include/netutils/webclient.h b/include/netutils/webclient.h index 692e76ffa..0c765a340 100644 --- a/include/netutils/webclient.h +++ b/include/netutils/webclient.h @@ -102,7 +102,7 @@ * the name resolution in a blocking manner. */ -#define WEBCLIENT_FLAG_NON_BLOCKING 1U +#define WEBCLIENT_FLAG_NON_BLOCKING 1U /* WEBCLIENT_FLAG_TUNNEL: Establish a tunnel * @@ -118,14 +118,14 @@ * webclient_conn_s from the context. It's users' responsibility * to dispose the connection. */ -#define WEBCLIENT_FLAG_TUNNEL 2U +#define WEBCLIENT_FLAG_TUNNEL 2U /* The following WEBCLIENT_FLAG_xxx constants are for * webclient_poll_info::flags. */ -#define WEBCLIENT_POLL_INFO_WANT_READ 1U -#define WEBCLIENT_POLL_INFO_WANT_WRITE 2U +#define WEBCLIENT_POLL_INFO_WANT_READ 1U +#define WEBCLIENT_POLL_INFO_WANT_WRITE 2U /**************************************************************************** * Public types diff --git a/industry/foc/fixed16/foc_ang_onfo.c b/industry/foc/fixed16/foc_ang_onfo.c index 35fbe63f1..76b54a6a3 100644 --- a/industry/foc/fixed16/foc_ang_onfo.c +++ b/industry/foc/fixed16/foc_ang_onfo.c @@ -35,7 +35,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define SIGN(x) ((x > 0) ? b16ONE : -b16ONE) +#define SIGN(x) ((x > 0) ? b16ONE : -b16ONE) #define LINEAR_MAP(x, in_min, in_max, out_min, out_max) \ (b16divb16(b16mulb16((x - in_min), (out_max - out_min)), \ diff --git a/industry/foc/float/foc_ang_onfo.c b/industry/foc/float/foc_ang_onfo.c index 2acb6ce9c..14149de31 100644 --- a/industry/foc/float/foc_ang_onfo.c +++ b/industry/foc/float/foc_ang_onfo.c @@ -35,7 +35,7 @@ * Pre-processor Definitions ****************************************************************************/ -#define SIGN(x) ((x > 0.0f) ? 1.0f : -1.0f) +#define SIGN(x) ((x > 0.0f) ? 1.0f : -1.0f) #define LINEAR_MAP(x, in_min, in_max, out_min, out_max) \ ((x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min) @@ -280,9 +280,7 @@ static int foc_angle_onfo_run_f32(FAR foc_angle_f32_t *h, DEBUGASSERT(h->data); ob = h->data; - /* Normalize the d-q voltage to get the d-q modulation - * voltage - */ + /* Normalize the d-q voltage to get the d-q modulation voltage */ v_dq_mod.d = in->state->vdq.d * in->state->mod_scale; v_dq_mod.q = in->state->vdq.q * in->state->mod_scale; diff --git a/lte/alt1250/alt1250_container.h b/lte/alt1250/alt1250_container.h index 4bb884e1d..894ff5aa4 100644 --- a/lte/alt1250/alt1250_container.h +++ b/lte/alt1250/alt1250_container.h @@ -71,4 +71,4 @@ void container_free_all(FAR struct alt_container_s *head); FAR struct alt_container_s * container_pick_listtop(FAR struct alt_container_s **head); -#endif /* __APPS_LTE_ALT1250_ALT1250_CONTAINER_H */ +#endif /* __APPS_LTE_ALT1250_ALT1250_CONTAINER_H */ diff --git a/lte/alt1250/alt1250_postproc.h b/lte/alt1250/alt1250_postproc.h index 282614244..3afdc1207 100644 --- a/lte/alt1250/alt1250_postproc.h +++ b/lte/alt1250/alt1250_postproc.h @@ -46,4 +46,4 @@ struct postproc_s unsigned long priv; }; -#endif /* __APPS_LTE_ALT1250_ALT1250_POSTPROC_H */ +#endif /* __APPS_LTE_ALT1250_ALT1250_POSTPROC_H */ diff --git a/netutils/webclient/webclient.c b/netutils/webclient/webclient.c index 09df3d114..ad744350b 100644 --- a/netutils/webclient/webclient.c +++ b/netutils/webclient/webclient.c @@ -133,11 +133,11 @@ #define CONN_WANT_WRITE WEBCLIENT_POLL_INFO_WANT_WRITE #ifdef CONFIG_DEBUG_ASSERTIONS -#define _CHECK_STATE(ctx, s) DEBUGASSERT((ctx)->state == (s)) -#define _SET_STATE(ctx, s) ctx->state = (s) +#define _CHECK_STATE(ctx, s) DEBUGASSERT((ctx)->state == (s)) +#define _SET_STATE(ctx, s) ctx->state = (s) #else -#define _CHECK_STATE(ctx, s) do {} while (0) -#define _SET_STATE(ctx, s) do {} while (0) +#define _CHECK_STATE(ctx, s) do {} while (0) +#define _SET_STATE(ctx, s) do {} while (0) #endif /**************************************************************************** @@ -166,9 +166,9 @@ enum webclient_state_e /* flags for wget_s::internal_flags */ -#define WGET_FLAG_GOT_CONTENT_LENGTH 1U -#define WGET_FLAG_CHUNKED 2U -#define WGET_FLAG_GOT_LOCATION 4U +#define WGET_FLAG_GOT_CONTENT_LENGTH 1U +#define WGET_FLAG_CHUNKED 2U +#define WGET_FLAG_GOT_LOCATION 4U struct wget_target_s { diff --git a/system/ntpc/ntpcstatus_main.c b/system/ntpc/ntpcstatus_main.c index efed5b8f9..3ef27f0ae 100644 --- a/system/ntpc/ntpcstatus_main.c +++ b/system/ntpc/ntpcstatus_main.c @@ -42,7 +42,7 @@ /* "-", uint64_t, ".", 9 digits fraction part, NUL */ -#define NTP_TIME_STR_MAX_LEN (1 + 21 + 1 + 9 + 1) +#define NTP_TIME_STR_MAX_LEN (1 + 21 + 1 + 9 + 1) static void format_ntptimestamp(int64_t ts, FAR char *buf, size_t len)