mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-03 13:19:03 +00:00
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:
parent
5555d0ae91
commit
2ff55ac151
1 changed files with 7 additions and 7 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue