Skip to content

Commit

Permalink
max net lvl is 4 (not 3)
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 authored Nov 14, 2021
1 parent 2498529 commit 6a01eba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ bool RF24Network::multicast(RF24NetworkHeader &header, const void *message, uint
// Fill out the header
header.to_node = NETWORK_MULTICAST_ADDRESS;
header.from_node = node_address;
return write(header, message, len, levelToAddress(level > 3 ? _multicast_level : level));
return write(header, message, len, levelToAddress(level > 4 ? _multicast_level : level));
}
#endif

Expand Down

0 comments on commit 6a01eba

Please sign in to comment.