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
This commit is contained in:
YAMAMOTO Takashi 2020-11-13 17:02:36 +09:00 committed by Xiang Xiao
parent 5555d0ae91
commit 2ff55ac151

View File

@ -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;