Skip to content

Commit

Permalink
minor change for network_poll
Browse files Browse the repository at this point in the history
  • Loading branch information
TMRh20 committed Mar 24, 2016
1 parent 3a42eb9 commit 4c1293d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RF24Network.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ uint8_t RF24Network::update(void)
if( header->to_node == 0100){


if(header->type == NETWORK_POLL && node_address != 04444 ){
if( !(networkFlags & FLAG_NO_POLL) ){
if(header->type == NETWORK_POLL ){
if( !(networkFlags & FLAG_NO_POLL) && node_address != 04444 ){
header->to_node = header->from_node;
header->from_node = node_address;
delay(parent_pipe);
Expand Down

0 comments on commit 4c1293d

Please sign in to comment.