astyle -A1 -s2
This commit is contained in:
parent
b000a87aa1
commit
32e8b3fbbb
18
RF24.cpp
18
RF24.cpp
|
@ -529,12 +529,18 @@ void RF24::openWritingPipe(uint64_t value)
|
||||||
|
|
||||||
void RF24::openReadingPipe(uint8_t child, uint64_t value)
|
void RF24::openReadingPipe(uint8_t child, uint64_t value)
|
||||||
{
|
{
|
||||||
const uint8_t child_pipe[] = {
|
const uint8_t child_pipe[] =
|
||||||
RX_ADDR_P0, RX_ADDR_P1, RX_ADDR_P2, RX_ADDR_P3, RX_ADDR_P4, RX_ADDR_P5 };
|
{
|
||||||
const uint8_t child_payload_size[] = {
|
RX_ADDR_P0, RX_ADDR_P1, RX_ADDR_P2, RX_ADDR_P3, RX_ADDR_P4, RX_ADDR_P5
|
||||||
RX_PW_P0, RX_PW_P1, RX_PW_P2, RX_PW_P3, RX_PW_P4, RX_PW_P5 };
|
};
|
||||||
const uint8_t child_pipe_enable[] = {
|
const uint8_t child_payload_size[] =
|
||||||
ERX_P0, ERX_P1, ERX_P2, ERX_P3, ERX_P4, ERX_P5 };
|
{
|
||||||
|
RX_PW_P0, RX_PW_P1, RX_PW_P2, RX_PW_P3, RX_PW_P4, RX_PW_P5
|
||||||
|
};
|
||||||
|
const uint8_t child_pipe_enable[] =
|
||||||
|
{
|
||||||
|
ERX_P0, ERX_P1, ERX_P2, ERX_P3, ERX_P4, ERX_P5
|
||||||
|
};
|
||||||
|
|
||||||
// If this is pipe 0, cache the address. This is needed because
|
// If this is pipe 0, cache the address. This is needed because
|
||||||
// openWritingPipe() will overwrite the pipe 0 address, so
|
// openWritingPipe() will overwrite the pipe 0 address, so
|
||||||
|
|
Loading…
Reference in New Issue