File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,9 @@ volatile bool wasInterrupted;
46
46
#endif
47
47
uint16_t RF24NetworkHeader::next_id = 1 ;
48
48
49
+ #define NETWORK_MULTICAST_ADDRESS_LEVEL_2 010
50
+ #define NETWORK_MULTICAST_ADDRESS_LEVEL_4 01000
51
+
49
52
#if defined(RF24_LINUX)
50
53
/* *****************************************************************/
51
54
template <class radio_t >
@@ -1122,7 +1125,7 @@ template<class radio_t>
1122
1125
bool ESBNetwork<radio_t >::is_valid_address (uint16_t node)
1123
1126
{
1124
1127
bool result = true ;
1125
- if (node == NETWORK_MULTICAST_ADDRESS || node == 010 ) {
1128
+ if (node == NETWORK_MULTICAST_ADDRESS || node == NETWORK_MULTICAST_ADDRESS_LEVEL_2 || node == NETWORK_MULTICAST_ADDRESS_LEVEL_4 ) {
1126
1129
return result;
1127
1130
}
1128
1131
uint8_t count = 0 ;
You can’t perform that action at this time.
0 commit comments