Skip to content

Commit

Permalink
Update RF24Network.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Brendan <[email protected]>
  • Loading branch information
TMRh20 and 2bndy5 authored Sep 26, 2023
1 parent 285e68e commit 793bfcb
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1181,7 +1181,14 @@ template<class radio_t>
uint64_t ESBNetwork<radio_t>::pipe_address(uint16_t node, uint8_t pipe)
{

static uint8_t address_translation[] = {0xc3, 0x3c, 0x33, 0xce, 0x3e, 0xe3, 0xec, 0xee, 0xed};
static uint8_t address_translation[] = {0xc3, 0x3c, 0x33, 0xce, 0x3e, 0xe3, 0xec
#if NUM_PIPES > 6
, 0xee
#if NUM_PIPES > 7
, 0xed
#endif
#endif
};
uint64_t result = 0xCCCCCCCCCCLL;
uint8_t* out = reinterpret_cast<uint8_t*>(&result);

Expand Down

0 comments on commit 793bfcb

Please sign in to comment.