Skip to content

Commit

Permalink
run clang-format v12.0.1 on unchanged some files
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Feb 16, 2024
1 parent d406968 commit b295eb7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1181,14 +1181,22 @@ 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
static uint8_t address_translation[] = { 0xc3,
0x3c,
0x33,
0xce,
0x3e,
0xe3,
0xec
#if NUM_PIPES > 6
, 0xee
,
0xee
#if NUM_PIPES > 7
, 0xed
,
0xed
#endif
#endif
};
};
uint64_t result = 0xCCCCCCCCCCLL;
uint8_t* out = reinterpret_cast<uint8_t*>(&result);

Expand Down
2 changes: 1 addition & 1 deletion RF24Network_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
/** Enable dynamic payloads - If using different types of nRF24L01 modules, some may be incompatible when using this feature **/
#define ENABLE_DYNAMIC_PAYLOADS
#endif // DISABLE_DYNAMIC_PAYLOADS

/** The number of 'pipes' available for addressing in the current device
* Networks with NRF24L01 devices only have 6 pipes
* NRF52x networks support up to 8 pipes
Expand Down

0 comments on commit b295eb7

Please sign in to comment.