From 2ff55ac151c54e26244e97e80d44ff4c49792fb6 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 13 Nov 2020 17:02:36 +0900 Subject: [PATCH] examples/nrf24l01_term/nrf24l01_term.c: Appease nxstyle Still has a few errors because of include/nuttx/wireless/nrf24l01.h. examples/nrf24l01_term/nrf24l01_term.c:125:33: error: Mixed case identifier found examples/nrf24l01_term/nrf24l01_term.c:129:15: error: Mixed case identifier found --- examples/nrf24l01_term/nrf24l01_term.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/nrf24l01_term/nrf24l01_term.c b/examples/nrf24l01_term/nrf24l01_term.c index b76a1fb05..99fbf0af5 100644 --- a/examples/nrf24l01_term/nrf24l01_term.c +++ b/examples/nrf24l01_term/nrf24l01_term.c @@ -124,19 +124,19 @@ int wireless_cfg(int fd) int32_t txpow = DEFAULT_TXPOWER; nrf24l01_datarate_t datarate = RATE_1Mbps; nrf24l01_retrcfg_t retrcfg = - { - .count = 5, - .delay = DELAY_1000us - }; + { + .count = 5, + .delay = DELAY_1000us + }; uint32_t addrwidth = NRF24L01_MAX_ADDR_LEN; uint8_t pipes_en = (1 << 0); /* Only pipe #0 is enabled */ nrf24l01_pipecfg_t pipe0cfg; nrf24l01_pipecfg_t *pipes_cfg[NRF24L01_PIPE_COUNT] = - { - &pipe0cfg, 0, 0, 0, 0, 0 - }; + { + &pipe0cfg, 0, 0, 0, 0, 0 + }; nrf24l01_state_t primrxstate;